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

File not accepted as valid addition to svn

From: Bo Berglund <bo.berglund_at_gmail.com>
Date: Mon, 12 Feb 2018 15:57:27 +0100

Today I found that there is a problem with some files in regards to
the svn add command (on Windows 7):

svn add Fasadändring&Attefalltillbyggnad.pdf
svn: warning: W155010: 'D:\Bosse\Fasadändring' not found
svn: E200009: Could not add all targets because some targets don't
exist
svn: E200009: Illegal target for the requested operation
'Attefalltillbyggnad.pdf' is not recognized as an internal or external
command,
operable program or batch file.

Why does this happen? The & character is a fully legal part of a file
name at least on Windows...
I tried to find a list of characters that Subversion does not like,
but apparently there is none. So is it in fact not possible to use &
inside a file name in Svn (1.9.7)?
Is there a workaround? (I replaced the & with a hyphen just to be able
to continue, but got curious...

While googling I found that trying to create a seemingly innocent file
by name aux.txt also fails! It was mentioned as one of the
(undocumented) "features" of Windows. I tried and sure enough there
was an error.

-- 
Bo Berglund
Developer in Sweden
Received on 2018-02-12 15:58:15 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.