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

Re: [TSVN] Re: Creating a branch with Tortoise SVN

From: Cary Collett <cary_at_ratatosk.org>
Date: 2004-08-24 17:33:04 CEST

Thanks David and Simon! Now I have another question...

So, in order to create the layout cited in the manual
should I do this...

move
svn+ssh://foo@bar.com/stuff
to
svn+ssh://foo@bar.com/stuff/trunk

and then, to create a proper branch, do a copy from
svn+ssh://foo@bar.com/stuff/trunk
to
svn+ssh://foo@bar.com/stuff/branches/branch_01

?

Thanks again for your help.

Cary

Simon Large (slarge@blazepoint.co.uk) wrote:

> "Cary Collett" wrote
> > I'm copying from svn+ssh://foo@bar.com/stuff
> > to svn+ssh://foo@bar.com/stuff/branches/test
>
> "David Smith" wrote
> > You can't branch "stuff" to a directory beneath "stuff".
>
> You can copy "stuff" to "stuff/test" if you really want to. What you cannot
> do is get subversion to create a new folder within a non-existent folder.
>
> You can copy from 'svn+ssh://foo@bar.com/stuff' to
> 'svn+ssh://foo@bar.com/stuff/test' because 'stuff' already exists.
>
> You cannot copy 'svn+ssh://foo@bar.com/stuff' to
> 'svn+ssh://foo@bar.com/stuff/branches/test' unless 'stuff/branches' already
> exists.
>
> However, this structure is definitely not recommended practice, because you
> have added a branch within the trunk. Next time you branch the trunk you
> will get _another_ copy of the previous branch nested inside, and you get
> more recursion on every branch you make. The TSVN manual recommends using
> particular hierarchies for good reason (see Daily use guide: 4.3.1
> Repository Layout).
>
> Also, it is a good idea to do a WC update before a branch/tag - you get an
> error message if you try to branch an out-of-date WC. The WC can be out of
> date even directly after a commit - see Stefan's replies in the "Commit
> failed while tagging" thread (started 2004-8-23) for an explanation.
>
> Simon.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 24 18:40:06 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.