[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: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Thu, 18 Nov 2010 09:23:25 +0000

On 16 November 2010 18:10, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> 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 possible to check for the existence of the last subfolder and
use the create option only if it doesn't exist?

Simon

-- 
:       ___
:  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=2682687
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-18 10:23:37 CET

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