RE: Give us instructions to create a new repository with the branch code of a old repository
From: Bob Archer <bob.archer_at_amsi.com>
Date: Fri, 13 Nov 2009 10:40:27 -0500
It's not. That branch won't have any history. You should delete that folder and use the copy command as I showed below.
BOb
From: lalith prasad [mailto:lalith.prasad_at_scubetech.in]
Dear All,
Thank you for the support.
Initially, i have tried the copy command with the revision range (i.e. -r 1:898). But i got the error "Revision range is not allowed for copy". So, i tried to create the branch using merge.
I have used the command,
The above command merged all the files to the empty branch folder for the revision 898. Then i made a commit to add these files to the repository.
The above command fixed my need and all the revision history is maintained too.
But i don't know whether it is a proper way of creating a branch or not and whether it will cause any future problems.
On Fri, Nov 13, 2009 at 8:24 PM, Bob Archer <Bob.Archer_at_amsi.com<mailto:Bob.Archer_at_amsi.com>> wrote:
svn cp -r 898 $REPO/Path/To/Trunk_at_898 $REPO/Path/To/BranchWanted
BOb
From: Lalitha Prasad [mailto:lalith.prasad_at_scubetech.in<mailto:lalith.prasad_at_scubetech.in>]
Hi Daniel
Thank you very much for your guidelines. It worked fine.
You can do this in the current repository, without doing a dump/load
svn delete %URL%/trunk
Cheers,
<snipped />
-- Thanks & Regards, V. Lalitha Prasad, Software Developer Scube IT Solutions India Pvt. Ltd www.scubian.com<http://www.scubian.com> lalith.prasad_at_scubian.com<mailto:lalith.prasad_at_scubian.com> (Cell) +91 9966282236 #4-1-319, 2nd Floor, Abids Road, Hyderabad - 01 -- Thanks & Regards, V. Lalitha Prasad, Software Developer Scube IT Solutions India Pvt. Ltd www.scubian.com<http://www.scubian.com> lalith.prasad_at_scubian.com<mailto:lalith.prasad_at_scubian.com> (Cell) +91 9966282236 #4-1-319, 2nd Floor, Abids Road, Hyderabad - 01 ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2417589 To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].Received on 2009-11-13 16:41:21 CET |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.