Bo Berglund
2018-02-12 14:57:27 UTC
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.
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
Bo Berglund
Developer in Sweden