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

Re: Question regarding WC->URL copy

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-14 05:56:48 CEST

> [(Z) kdlee@or-portal pts/1 <tree> ]% svn copy .
> http://localhost/svn/trepos/cx/private/kdlee/chkpoint

I know what you're trying to do: but you're making it too difficult on
yourself.

If you want to commit your local mods to a branch, then just

  $ cd tree
  $ svn switch http://localhost/svn/trepos/cv/private/kdlee/chkpoint
  $ svn commit

Poof, 'switch' effectively 'updates' your working copy to reflect the
branch. And just like the update command, it preserves your local mods.

Much, much simpler. When you're tired of working on the branch, just
'svn switch' back to the trunk URL. No need to have multiple working
copies, or to do URL<->WC copy operations. Update/commit/switch are all
the tools you need.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 14 05:59:21 2004

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.