Return to Snippet

Revision: 54419
at December 22, 2011 22:18 by altern


Updated Code
@ECHO off
:TOP
	IF (%1)==() GOTO END
	SET SVN_REPO=%1
	ECHO Initializing basic repository structure (trunk, branches, tags) in %SVN_REPO%
	svn mkdir %SVN_REPO%/trunk %SVN_REPO%/branches %SVN_REPO%/tags -m "Initializing basic repository structure"
	ECHO Initializing extended repository structure in %SVN_REPO%
	svn mkdir %SVN_REPO%/branches/experimental %SVN_REPO%/branches/feature %SVN_REPO%/branches/support %SVN_REPO%/branches/release %SVN_REPO%/tags/builds %SVN_REPO%/tags/builds/PA %SVN_REPO%/tags/builds/A %SVN_REPO%/tags/builds/B %SVN_REPO%/tags/releases %SVN_REPO%/tags/releases/AR %SVN_REPO%/tags/releases/BR %SVN_REPO%/tags/releases/RC %SVN_REPO%/tags/releases/ST -m "Initializing extended repository structure"
:END

Revision: 54418
at December 22, 2011 21:53 by altern


Initial Code
@ECHO off
:TOP
	IF (%1)==() GOTO END
	SET SVN_REPO=%1
	ECHO Initializing basic repository structure (trunk, branches, tags) in %SVN_REPO%
	svn mkdir %SVN_REPO%/trunk %SVN_REPO%/branches %SVN_REPO%/tags -m "Initializing basic repository structure"
	ECHO Initializing extended repository structure in %SVN_REPO%
	svn mkdir %SVN_REPO%/branches/experimental %SVN_REPO%/branches/support %SVN_REPO%/branches/release %SVN_REPO%/tags/builds %SVN_REPO%/tags/builds/PA %SVN_REPO%/tags/builds/A %SVN_REPO%/tags/builds/B %SVN_REPO%/tags/releases %SVN_REPO%/tags/releases/AR %SVN_REPO%/tags/releases/BR %SVN_REPO%/tags/releases/RC %SVN_REPO%/tags/releases/ST -m "Initializing extended repository structure"
:END

Initial URL

                                

Initial Description
Batch script creates initial svn repository structure according to SCM framework (http://scm.altern.kiev.ua):
    /project
        /trunk
        /tags
            /builds
                /PA
                /A
                /B
            /releases
                /AR
                /BR
                /RC
                /ST
        /branches
            /support
            /releases
            /experimental
            /feature

Initial Title
Create initial svn repository structure

Initial Tags
svn, windows

Initial Language
DOS Batch