Added script for svn repo mirroring.
Updated deliv config files.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
setlocal
|
||||
call %~dp0config.bat
|
||||
|
||||
set REPO_NAME=%1
|
||||
set REPO_URL=%2
|
||||
|
||||
set REPO_DIR=mirrors\svn\%1
|
||||
set REPO_LOCAL=file:///%REPO_ROOT%/svn/%REPO_NAME%
|
||||
|
||||
rd /q/s %REPO_DIR%
|
||||
svnadmin create %REPO_DIR%
|
||||
copy _hooks\*.cmd %REPO_DIR%\hooks\.
|
||||
svnsync init --sync-username svnsync "%REPO_LOCAL%" %REPO_URL%
|
||||
echo svnsync sync "%REPO_LOCAL%" > mirrors\svn\sync_%REPO_NAME%.bat
|
||||
Reference in New Issue
Block a user