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

Re: [TSVN] difficulty establishing correct branch tree.

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-08-11 18:06:57 CEST

Peter McNab wrote:
> No, not quite. I expected and wanted to happen was to establish a branch
> from the HEAD of Trunk which had two folders (src and Test) to appear in
> the pre existing but empty Branches/VendorDrops path.
> What kept happening was that the structure became
> Branches/Vendordrops/Trunk/ containing the src and Test folders.

So you wanted to create a branch of trunk to /branches/Vendordrops.

svn copy http://server/trunk http://branches/Vendordrops

Now: since Vendordrops already exists, Subversion automatically copies
your trunk folder *inside* the Vendordrops folder.

(that's the behaviour of the Linux 'copy' command).

I know this is not what you expect. And that's why I opened the issue.

> Because this was just the beginning of an exercise for an TSVN demo I
> deleted the repository, started again (twice), partly to be sure what I
> saw was repeatable before posting.
>
> By recreating the Repository without the VendorDrops folder then
> creating the branch in the Branches/ path the desired structure was
> achieved.

of course. Then you copy trunk to branches/Vendordrops (a copy is like a
rename, without the source being removed).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Aug 11 18:07:16 2005

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.