Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a Branch in Subversion from a specific Trunk Revision

Tags:

branch

svn

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 the branch 3.0.

I have no clue how I am supposed to do that.

like image 390
kylex Avatar asked Feb 24 '23 05:02

kylex


2 Answers

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

like image 142
Cédric Julien Avatar answered Apr 29 '23 03:04

Cédric Julien


Try this...

 $ svn copy -r 144 URL/trunk URL/branches/Rev3.0
like image 27
Andrew Avatar answered Apr 29 '23 03:04

Andrew