If the file name ends with a space, it cannot be save to a file then use the 
--targets options:

For example:

Files:

/Users/abc/trunk/aaa
/Users/abc/trunk/aa      // ends with a space.

create a file:  /Users/abc/trunk/1.txt, contents:

/Users/abc/trunk/aaa
/Users/abc/trunk/aa      // ends with a space.

execute svn command:

svn add --targets  /Users/abc/trunk/1.txt

svn: warning: W155010: '/Users/abc/trunk/aa' not found
svn: E200009: Could not add all targets because some targets don't exist
svn: E200009: Illegal target for the requested operation

create a file:  /Users/abc/trunk/2.txt, contents:

"/Users/abc/trunk/aaa"
"/Users/abc/trunk/aa "

execute svn command:

svn add --targets  /Users/abc/trunk/2.txt

svn: warning: W155010: The node '/Users/abc/trunk/"/Users/abc/trunk' was not 
found.
svn: E200009: Could not add all targets because some targets don't exist
svn: E200009: Illegal target for the requested operation

create a file:  /Users/abc/trunk/3.txt, contents:

/Users/abc/trunk/aaa
/Users/abc/trunk/aa\     // ends with a space.

execute svn command:

svn add --targets  /Users/abc/trunk/3.txt

svn: warning: W155010: '/Users/abc/trunk/aa\' not found
svn: E200009: Could not add all targets because some targets don't exist
svn: E200009: Illegal target for the requested operation


Subversion client version: 1.14.5
Subversion server version: 1.14.5
OS: macOS 15.5

Reply via email to