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

Export fails when destination is path with space

From: Dane Kantner <dane.kantner_at_gmail.com>
Date: Tue, 15 Sep 2015 13:54:17 -0700 (PDT)

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.

If a full file path and name are specified, the export works as expected whether or not the path has spaces.

If a full path is specified but not the actual file name, the export files if the path contains spaces.

Does anyone know how to change this behavior, is it a bug? I have tried escaping the spaces in every imaginable way but have not been able to change this behavior.

I'm using 1.9.1 and it was happening in prior version as well.

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'

svn export -r 48270 "https://foo.4you.net/svn/a/branches/bD1.39/Service References/FooServiceReference/Reference.cs" "v:\Test\20150915\Dane Test\reference.cs" --force
svn export -r 48270 "https://foo.4you.net/svn/a/branches/bD1.39/Service References/FooServiceReference/Reference.cs" "v:\Test\20150915\DaneTest\" --force
svn export -r 48270 "https://foo.4you.net/svn/a/branches/bD1.39/Service References/FooServiceReference/Reference.cs" "v:\Test\20150915\DaneTest\reference.cs" --force

All three work as expected with the file exporting to v:\Test\20150915\Dane[ ]Test\reference.cs in those 3 cases.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-09-16 17:12:37 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.