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.bat
@echo off
rem = """-*-Python-*- script
rem -------------------- DOS section --------------------
rem You could set PYTHONPATH
python -x %~f0 %*
goto exit
"""
# -------------------- Python section --------------------
from PyQt4 import QtCore, QtGui
import os
import sys
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()
DosExitLabel = """
:exit
rem """
Computing file changes ...