03.22Using SVN copy to branch or tag within a repository
To “branch” or “tag” within a repository, use svn copy. The syntax is simple.
svn copy {SRC} {DST}
The source and destination can be either a working copy path or full URL in any combination. So to tag a revision from trunk the following command could be used.
svn copy --username myusername --password mypassword http://domain.com/svn/trunk http://domain.com/svn/tag/0.1.1332 -m "commit message"

Leave a Reply