Subversion Repositories DevTools

Rev

Rev 4226 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4226 Rev 5455
Line 7... Line 7...
7
REM Args %1 - Repo Path
7
REM Args %1 - Repo Path
8
REM      %2 - Transaction ID
8
REM      %2 - Transaction ID
9
set REPOS=%1
9
set REPOS=%1
10
set TXN=%2
10
set TXN=%2
11
 
11
 
12
set SVNLOOK="C:\Program Files (x86)\VisualSVN Server\bin\svnlook.exe"
12
set SVNLOOK="%VISUALSVN_SERVER%bin\svnlook.exe"
13
 
13
 
14
REM does not contains /tags/ - allowed to commit
14
REM does not contains /tags/ - allowed to commit
15
%SVNLOOK% changed -t %TXN% %REPOS% | findstr /r \/tags\/ >/nul
15
%SVNLOOK% changed -t %TXN% %REPOS% | findstr /r \/tags\/ >/nul
16
if not %errorlevel%==0 (goto AllowCommit)
16
if not %errorlevel%==0 (goto AllowCommit)
17
 
17