Changeset 625 in xtideuniversalbios for trunk/Tools
- Timestamp:
- Feb 19, 2023, 9:26:52 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/PostCommitHook.cmd
r624 r625 1 1 @echo off 2 if exist ..\CommitInProgress goto NoError1 2 :TryAgain 3 if exist CommitInProgress goto NoError 4 if %6""=="" goto NotCalledFromTSVN 5 if %6=="%cd%" goto FileNotFound 6 cd %6 7 goto TryAgain 8 :NotCalledFromTSVN 9 if "%PreviousCD%"=="%cd%" goto FileNotFound 10 set PreviousCD=%cd% 11 cd.. 12 goto TryAgain 13 :FileNotFound 3 14 echo PostCommitHook was called but no CommitInProgress file could be found!>con 4 15 echo Something is very wrong as this should not happen!>con 5 16 pause<con>con 6 17 exit 1 7 :NoError 18 del ..\CommitInProgress18 :NoError 19 del CommitInProgress 9 20 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.