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

Re: branch with subfolder gives "path not present"

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 16 Nov 2010 19:10:35 +0100

On 16.11.2010 10:40, Mr Factory wrote:
> hi
>
> if I branch "/trunk" to "/branches/b1"
> it works ok (folder "b1" is created for me)
>
> but if I branch "/trunk/folder" to "/branches/b1/folder"
>
> I get the error "path 'branches/b1' not present"
>
> I was expecting the software to create that folder for me
>
> (Of course it doesn't exist yet - it is the tools job to create it)
>
> Is this by design?

Yes.

> Is there an option to modify this behaviour?

There's one in the svn library, but not in TSVN since TSVN does not use
that option.

The problem is that if that option is specified, the svn lib will always
create subfolders even if the target folder already exists - in that
case it won't throw an error but create a subfolder with the same name.
Since that is something many users don't want, TSVN doesn't use that option.

> Is it a bug?

Not really.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2682257
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-16 19:26:41 CET

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