minor improvements in test/BuildMergeHistoryRepo.bat and test/BuildRevisionGraphTestRepo.bat
@@ -1,4 +1,5 @@ | ||
1 | 1 | @echo off |
2 | +setlocal | |
2 | 3 | |
3 | 4 | set REPOROOT=file:///d:/_test_repo |
4 | 5 | set REPOPATH=d:\_test_repo |
@@ -6,10 +7,10 @@ | ||
6 | 7 | |
7 | 8 | :: create empty repos & working copy |
8 | 9 | |
9 | -rd /s /q %REPOPATH% | |
10 | +if exist %REPOPATH% rd /s /q %REPOPATH% | |
10 | 11 | svnadmin create %REPOPATH% |
11 | 12 | |
12 | -rd /s /q %WC% | |
13 | +if exist %WC% rd /s /q %WC% | |
13 | 14 | svn co %REPOROOT% %WC% |
14 | 15 | |
15 | 16 | :: r1: initial content |
@@ -74,4 +75,5 @@ | ||
74 | 75 | |
75 | 76 | svn ci %WC% -m "unmerged r4" |
76 | 77 | |
77 | - | |
78 | +endlocal | |
79 | +pause |
@@ -1,4 +1,5 @@ | ||
1 | 1 | @echo off |
2 | +setlocal | |
2 | 3 | |
3 | 4 | set REPOROOT=file:///d:/test/repo |
4 | 5 |
@@ -316,3 +317,6 @@ | ||
316 | 317 | :: revision 70 |
317 | 318 | |
318 | 319 | cd .. |
320 | + | |
321 | +endlocal | |
322 | +pause |