Creating a Branch in Subversion from a specific Trunk Revision
I am using Versions (Mac OS X SVN software) and have created a branch labeled 3.0
I would like to take everything that is up to revision 144 from our Trunk and basically make that into 开发者_JAVA百科the branch 3.0.
I have no clue how I am supposed to do that.
You'll have to use the svn copy
command.
svn copy my_repo/trunk -r 144 my_repo/branches/3.0
or
svn copy ^/trunk -r 144 ^/branches/3.0
where ^/
is a shortcut for the remote URL.
check the documentation here
Try this...
$ svn copy -r 144 URL/trunk URL/branches/Rev3.0
精彩评论