Re: Switch without updating
From: mark benedetto king <mbk_at_boredom.org>
Date: 2003-02-06 04:15:26 CET
On Thu, Feb 06, 2003 at 08:33:34AM +0530, M. S. Sriram wrote:
If I understand you correctly, this is what I consider to be a pretty
Luckily, svn can accomplish this beautifully.
Let's say you check out a wc:
svn co file://path/to/repo/trunk wc
Then you do a bunch of work, and realize that work should have been
svn cp file://path/to/repo/trunk file://path/to/repo/branches/foo
Note that this is a purely-repository based operation; the WC is not
svn switch file://path/to/repo/branches/foo
This will switch the WC over to the new branch, merging in local changes.
--ben
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.