Staging
v0.5.1
https://foss.heptapod.net/mercurial/hgview
Revision f0b9237dddaa324a9bacea683b1ba672386d91fb authored by David Douard on 30 May 2012, 10:10:01 UTC, committed by David Douard on 30 May 2012, 10:10:01 UTC
1 parent df5340d
Raw File
Tip revision: f0b9237dddaa324a9bacea683b1ba672386d91fb authored by David Douard on 30 May 2012, 10:10:01 UTC
close auc
Tip revision: f0b9237
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