Staging
v0.5.1
v0.5.1
https://foss.heptapod.net/mercurial/hgview
Revision 82c21363d76ea914f4f1581d2ebfb775e8f72813 authored by Alain Leufroy on 29 May 2012, 12:39:00 UTC, committed by Alain Leufroy on 29 May 2012, 12:39:00 UTC
``self.setupModels()`` resets the model which automatically refreshes the revision table once the related walker has been filled. Calling ``self.refreshRevisionTable()`` over-refreshes the table. This bug conflicts with the reselection system that has not the time to be fully updated.
1 parent 80c77a0
Tip revision: 82c21363d76ea914f4f1581d2ebfb775e8f72813 authored by Alain Leufroy on 29 May 2012, 12:39:00 UTC
[qt] re-enable "reselect currently visited rev and file on reload" (closes #93641)
[qt] re-enable "reselect currently visited rev and file on reload" (closes #93641)
Tip revision: 82c2136
hgview
#!/usr/bin/env python
# hgview: visual mercurial graphlog browser in PyQt4
#
# Copyright 2008-2010 Logilab
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.
"""
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 hgviewlib
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 hgviewlib.application import main
main()
Computing file changes ...