Re: 'SVN Add as external here' does not work for directories with whitespaces

Stefan Küng <[email protected]>
Newsgroups gmane.comp.version-control.subversion.tortoisesvn.devel
Message-ID <[email protected]>
On 11.10.2016 09:48, Pavel Lyalyakin wrote:
> Hello,
>
> Getting this error when adding an external item via right-dragging and
> selecting 'SVN Add as external here':
> [[[
> Error parsing svn:externals property on
>  'C:\Users\MyUser.CORP\Desktop\MyRepo\MyProject\testtree':
>  '^/MyProject/foo%20bar foo bar'
> ]]]
>
> The problem occurs for directories with a whitespace in name, e.g. `foo
> bar`.
>
> I can add such `svn:externals` via TortoiseSVN's property editor or
> using svn.exe without any errors. Here is the output of `svn status -v`
> after adding the property via svn.exe. But adding `foo bar` as an
> external item to `testtree` via 'SVN Add as external here' fails.
> [[[
>                  8        8 user         .
>                  8        7 user         foo bar
>                  9        9 user         testtree
> X                                        testtree\foo bar
>
> Performing status on external item at 'testtree\foo bar':
>                  9        7 user         testtree\foo bar
> ]]]
>
> I'm using TortoiseSVN 1.9.4 64-bit.

Fixed in r27498.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net

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

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.