Mercurial > hg
diff contrib/win32/hg.bat @ 6513:66e87c11447d
Add a batch file driver for Windows
author | Paul Moore <p.f.moore@gmail.com> |
---|---|
date | Thu, 10 Apr 2008 23:07:54 +0200 |
parents | |
children | 5096faaa280e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contrib/win32/hg.bat Thu Apr 10 23:07:54 2008 +0200 @@ -0,0 +1,12 @@ +@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