##// END OF EJS Templates
hg.bat: return exit code explicitly for indirect invocation...
FUJIWARA Katsunori -
r23934:975c4fc4 stable
parent child Browse files
Show More
@@ -15,3 +15,5 b' if exist "%~dp0..\\python.exe" ('
15 python "%~dp0hg" %*
15 python "%~dp0hg" %*
16 )
16 )
17 endlocal
17 endlocal
18
19 exit /b %ERRORLEVEL%
@@ -525,3 +525,12 b' return code of command and shell aliases'
525 [1]
525 [1]
526 $ hg exit1
526 $ hg exit1
527 [1]
527 [1]
528
529 #if no-outer-repo
530 $ hg root
531 abort: no repository found in '$TESTTMP' (.hg not found)!
532 [255]
533 $ hg --config alias.hgroot='!hg root' hgroot
534 abort: no repository found in '$TESTTMP' (.hg not found)!
535 [255]
536 #endif
General Comments 0
You need to be logged in to leave comments. Login now