Revision: 54420
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 22, 2011 22:04 by altern
Initial Code
@ECHO OFF REM script dumps specific project by getting it from the repository IF "%1"=="" ( ECHO "Usage: %0 project" GOTO END ) svn list file:///%cd:\=/%/ | grep ^%1/ > tmp.file set /p grepResult=<tmp.file del tmp.file IF "%grepResult%"=="" ( ECHO There is no '%1' project in the current repository GOTO END ) svnadmin dump . > repo.dump svndumpfilter include %1/ < repo.dump > %1.dump ECHO Project '%1' has been successfully dumped to file %1.dump :END
Initial URL
Initial Description
Batch script creates repository dump of specific project in repository. It assumes that repository has following structure: /project1 /trunk /tags /branches /project2 /trunk /tags /branches ... /projectN /trunk /tags /branches Needs UnxUtils installed to be executed successfully(http://unxutils.sourceforge.net/)
Initial Title
Create svn repository dump
Initial Tags
svn, windows
Initial Language
DOS Batch