]> granicus.if.org Git - python/commitdiff
Require Mercurial on PATH when building a Windows release.
authorSteve Dower <steve.dower@microsoft.com>
Fri, 6 Feb 2015 17:02:54 +0000 (09:02 -0800)
committerSteve Dower <steve.dower@microsoft.com>
Fri, 6 Feb 2015 17:02:54 +0000 (09:02 -0800)
Without it, we will generate invalid build information for sys.version

Tools/msi/buildrelease.bat

index b39f13e083290c573e8b5a27662c6cd689efbd9f..d44125054bef38db3bbe1b0ea0a8f04437d737df 100644 (file)
@@ -44,6 +44,9 @@ call "%D%..\..\doc\make.bat" htmlhelp
 if errorlevel 1 goto :eof
 :skipdoc
 
+where hg >nul 2>nul
+if errorlevel 1 echo Cannot find hg on PATH & exit /B 1
+
 where dlltool 2>nul >"%TEMP%\dlltool.loc"
 if errorlevel 1 dir "%D%..\..\externals\dlltool.exe" /s/b > "%TEMP%\dlltool.loc"
 if errorlevel 1 echo Cannot find binutils on PATH or in externals & exit /B 1