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

Fwd: how to svn merge of filename with spaces ?

From: Zk W <mpc8250_at_gmail.com>
Date: Tue, 7 Jul 2015 11:23:25 -0700

Hi Brane

Thanks for responding.

How about svn merging between working paths if the paths have spaces ?
eg

svn merge -c 12345 src/path to/Roaming Apple.txt /src/another path/Roaming
Apple.txt

Thanks once again.

On Tue, Jul 7, 2015 at 11:14 AM, Branko Čibej <brane_at_wandisco.com> wrote:

> On 07.07.2015 19:58, Zk W wrote:
> > Hi All
> >
> > We have SVN 1.6.
> > We like to perform a svn merge on a file where its filename has spaces.
> > eg
> > Roaming Apple.txt
> >
> > Is this syntax correct below to svn merge to a working copy ?
> > If not, what should it be ?
> >
> > svn merge -c 12345 "https://mytext.abb.com/app/path/to/Roaming
> > Apple.txt" .
> >
> > using quotes?
> >
> >
> > Right now, we get error
> > svn: Unable to parse URL '/svn/app/!svn/bc/12576/path/to/Roaming
> Apple.txt
> > using
> > svn merge -c 12345 https://mytext.abb.com/app/path/to/Roaming Apple.txt
> .
> >
> > Any help is appreciated.
>
>
> You have to properly escape spaces (and other special characters) in an
> URL. See, for example,
>
> https://en.wikipedia.org/wiki/Percent-encoding
>
> In your case, the URL would be
>
> https://mytext.abb.com/app/path/to/Roaming%20Apple.txt
>
> -- Brane
>
Received on 2015-07-07 20:23:48 CEST

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

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