First page Back Continue Last page Overview Graphics
Branching / Tagging (2/2)
Branching:
svn up
cd ../branches
svn cp ../trunk BLEEDING_EDGE
svn commit \
-m 'created branch for new features' \
BLEEDING_EDGE
Looks a lot like a tag, right?
Branches and tags are interchangeable: commit to a “tag” and it becomes a
“branch” automatically!
If you do this, you may find it useful to move the “tag” into the branches/ directory:
cd ../
svn mv tags/2005-03-30_PRE-RELEASE \
branches/2005-03-30_PRE-RELEASE
svn commit -m 'turned tag into branch' \
tags/2005-03-30_PRE-RELEASE \
branches/2005-03-30_PRE-RELEASE
Notes: