1. Takayuki KONDO
  2. hghooks-and-scripts

Source

hghooks-and-scripts / set-hg-branch-name.bat

1
2
3
4
5
6
7
8
@echo off
setlocal

C:\cygwin\bin\sh.exe .hg/set-hg-branch-name.sh
if not %ERRORLEVEL% == 0 (
	echo *** set-hg-branch-name.sh failed. %ERRORLEVEL% ***
	exit /b %ERRORLEVEL%
)