Staging
v0.5.1
https://foss.heptapod.net/mercurial/hgview
Revision 6993b863c8336fed079ccefddd4a77d6a49cedf4 authored by David Douard on 27 March 2009, 10:31:37 UTC, committed by David Douard on 27 March 2009, 10:31:37 UTC
1 parent 31e8c9c
Raw File
Tip revision: 6993b863c8336fed079ccefddd4a77d6a49cedf4 authored by David Douard on 27 March 2009, 10:31:37 UTC
Added tag 0.11.2 for changeset 0081c8c248d7
Tip revision: 6993b86
hgview.bat
@echo off
rem = """-*-Python-*- script
rem -------------------- DOS section --------------------
rem You could set PYTHONPATH or GTK environment variables here
python -x %~f0 %*
goto exit
 
"""
# -------------------- Python section --------------------
try:
    from hgview.gtk import hgview_gtk as hgview
except ImportError:    
    from PyQt4 import QtCore, QtGui
    from hgview.qt4 import hgview_qt4 as hgview
hgview.main()

DosExitLabel = """
:exit
rem """
back to top