Staging
v0.5.1
https://foss.heptapod.net/mercurial/hgview
Revision fdde0f8224434c4a08b2972a534a25cbdabe8794 authored by David Douard on 25 May 2009, 18:31:18 UTC, committed by David Douard on 25 May 2009, 18:31:18 UTC
- add a tooltip for diff stats
- make file name be coloured according its flag,
- small fix (diff content was not recomputed when swapping between "all files"  and "merged only" modes in the file table view)
1 parent a5e2720
Raw File
Tip revision: fdde0f8224434c4a08b2972a534a25cbdabe8794 authored by David Douard on 25 May 2009, 18:31:18 UTC
Several minor improvements:
Tip revision: fdde0f8
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.main import main 

main()

back to top