##// END OF EJS Templates
setup: calculate version more correctly...
setup: calculate version more correctly The old calculation code failed to properly identify revs that weren't tagged, leaving us with a version of "unknown" most of the time during development.

File last commit:

r12653:5096faaa default
r17709:b7fff47b default
Show More
hg.bat
12 lines | 297 B | application/x-msdownload | BatchLexer
@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
"%~dp0..\python" "%~dp0hg" %*
endlocal