##// END OF EJS Templates
setup3k: use getattr instead of hasattr...
setup3k: use getattr instead of hasattr Note that hasattr is fixed on Python 3, so this is more about being concise and keeping check-code happy than actual correctness of code.

File last commit:

r12653:5096faaa default
r14972:bcba68e8 default
Show More
hg.bat
12 lines | 297 B | application/x-msdownload | BatchLexer
Paul Moore
Add a batch file driver for Windows
r6513 @echo off
rem Windows Driver script for Mercurial
setlocal
set HG=%~f0
rem Use a full path to Python (relative to this script) as the standard Python
rem install does not put python.exe on the PATH...
rem %~dp0 is the directory of this script
Benjamin Pollack
windows: handle spaces in path to Python (issue2074)
r12653 "%~dp0..\python" "%~dp0hg" %*
Paul Moore
Add a batch file driver for Windows
r6513 endlocal