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

Re: Creating a branch without specifying an absolute URL.

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-04-01 21:15:00 CEST

On Thu, 2004-04-01 at 13:07, andy.glew@amd.com wrote:

> svn copy . http://svnrepo/branch/Absolute-New-Branch
> svn switch http://svnrepo/branch/Absolute-New-Branch

Actually, if you have a working copy of 'trunk' with local mods, we
usually recommend:

   svn copy http://host/repos/trunk http://host/repos/branches/mybranch
   svn switch http://host/repos/branches/mybranch

It's much faster than 'svn cp . URL'.

> (I come from the "task branch" school, checking in early and
> often on a new branch. I may make a dozen such task
> branches in a day.)

You could write a utility script to automatically create branches and
switch to them quickly. No need to remember the whole URL.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 1 21:16:23 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.