Staging
v0.8.1
https://foss.heptapod.net/mercurial/hgview
Revision ff08dd4781f28b9b26d929abb94d4225b42e0fe5 authored by David Douard on 04 June 2009, 10:22:31 UTC, committed by David Douard on 04 June 2009, 10:22:31 UTC
1 parent e905c8f
Raw File
Tip revision: ff08dd4781f28b9b26d929abb94d4225b42e0fe5 authored by David Douard on 04 June 2009, 10:22:31 UTC
make lgp happy / properly build bedian package using lgp now (tested on stable only for now)
Tip revision: ff08dd4
hgqv
#!/usr/bin/env python
"""
Hg repository log browser.

This may be used as a standalone application or as a hg extension. See
README file included.
"""

import sys, os
import os.path as pos

try:
    import hgqvlib
except ImportError:
    import stat
    execpath = pos.abspath(__file__)
    # resolve symbolic links
    statinfo = os.lstat(execpath)
    if stat.S_ISLNK(statinfo.st_mode):
        execpath = pos.abspath(pos.join(pos.dirname(execpath),
                                        os.readlink(execpath)))
    sys.path.append(pos.abspath(pos.join(pos.dirname(execpath), "..")))

from hgqvlib.qt4.hgrepoviewer import main 

main()

back to top