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

RE: File not accepted as valid addition to svn

From: Bert Huijben <bert_at_qqmail.nl>
Date: Fri, 16 Feb 2018 18:54:20 +0100

> -----Original Message-----
> From: Bo Berglund [mailto:bo.berglund_at_gmail.com]
> Sent: maandag 12 februari 2018 18:42
> To: users_at_subversion.apache.org
> Subject: Re: File not accepted as valid addition to svn
>
> On Mon, 12 Feb 2018 15:54:00 +0000, Philip Martin
> <philip_at_codematters.co.uk> wrote:
>
> >Bo Berglund <bo.berglund_at_gmail.com> writes:
> >
> >> svn add Fasadändring&Attefalltillbyggnad.pdf
> >> svn: warning: W155010: 'D:\Bosse\Fasadändring' not found
> >
> >'&' has special meaning to the shell and needs to be quoted or escaped.
>
> I always thought that this was the case only for Linux, since & is a
> perfectly valid part of a file name on Windows...
> But I will refrain from such characters in paths in the future.

F:\>echo q&r
q
'r' is not recognized as an internal or external command,
operable program or batch file.

F:\>

It is a separator between multiple operations on the same line. You could
quote the argument with "-characters, which usually just pressing TAB would
do for you on Windows if the file exists. Another option is adding a ^ in
front of the &.

        Bert
Received on 2018-02-16 18:54:32 CET

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.