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

RE: Export fails when destination is path with space

From: Gavin Lambert <colnet_at_mirality.co.nz>
Date: Thu, 17 Sep 2015 01:53:48 -0700 (PDT)

On 16/09/2015 08:54, Dane Kantner wrote:
> When the destination contains spaces, SVN export behaves differently
> based off of if the destination specified is a full file name or just
> the full destination directory.

The other important thing is "when using the command-line client", which makes this a little off-topic for this list; but still:

> svn export -r 48270 "https://foo.4you.net/svn/a/branches/bD1.39/Service References/FooServiceReference/Reference.cs" "v:\Test\20150915\Dane Test\" --force
>
> does not work, error is: svn: E020024: Error resolving case of 'v:\Test\20150915\Dane Test" --force'

Look closely at the error message. Notice that the trailing --force is being considered part of the filename.

This is because you have \" at the end of your filename, and this is parsed as an escaped literal quote in the filename, not as a backslash followed by an end-of-quoted-string.

Either remove this trailing backslash or add an extra dot (eg. Dane Test\." -- force).

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3138150

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-09-17 10:53:56 CEST

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

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