Re: branching best practice
From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-05-20 03:03:29 CEST
Jon Scott Stevens <jon@latchkey.com> writes:
Hi, Jon! One way is this:
$ svn cp . http://blahblahblah/repos/branches/my_new_branch
In other words, you can create a branch from a working copy -- even a
Another way is to create a branch from a pristine revision:
$ svn cp http://blah/repos/trunk http://blah/repos/branches/my_new_branch
Then switch your working copy to that branch:
$ svn switch http://blah/repos/branches/my_new_branch
(Note that that preserves your local changes.) Then commit the changes:
$ svn commit
...perhaps after testing them to make sure everything still works.
HTH,
-- Subversion support & consulting <> http://producingoss.com/consulting.html --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Sun May 20 03:04:01 2007 |
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.