subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Huijben" <b...@qqmail.nl>
Subject RE: File not accepted as valid addition to svn
Date Fri, 16 Feb 2018 17:54:20 GMT


> -----Original Message-----
> From: Bo Berglund [mailto:bo.berglund@gmail.com]
> Sent: maandag 12 februari 2018 18:42
> To: users@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@codematters.co.uk> wrote:
> 
> >Bo Berglund <bo.berglund@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



Mime
View raw message