[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn switch to move between servers

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-09-17 19:50:01 CEST

Timothee Besset <ttimo@idsoftware.com> writes:

> Yeah that's what I'm talking about. Typical case when working on code
> changes, is checking out trunk or current work version, doing stuff,
> and then deciding to check it in, but not on trunk, on some other
> branch.
>
> In cvs this is very easy, create branch, do an update to the new
> branch of your modified working copy, check in. If svn usage requires
> to do something like creating the branch, checking it out fresh, and
> copying over the changes manually, then it's a functionality setback.

Subversion is no different.

Check out trunk, make some edits.

Make a branch: svn cp URL1 URL2, where presumably URL1 is the trunk
you've already checked out.

Update your working copy to the branch: svn switch URL2. Your local
mods should continue to exist cleanly, no conflicts at all, because
URL2 and URL1 are identical.

Commit. Poof, your changes went to the branch.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 17 19:51:50 2002

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.