You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Stefan Landström <s_...@spray.se> on 2011/01/31 14:24:07 UTC

Problem with double escaped URLs during deletion

Hi, 

I am having trouble with paths containing whitespace when deleting more
than one URL. It seems like the whitespace character in the path gets
escaped twice.

 

Have I misunderstood anything in the syntax?

 

Or is this possibly a bug? If so, can anyone think of a workaround, with
the requirements that the changes must be made in one commit and
preferably without checking out to a local working copy?

 

Tested with Windows XP and 1.6.15 (Collabnet Command-Line Client and
SlikSVN)

 

 

SET REPO=TEST_REPO_GOES_HERE 

@REM Create test folder 
svn mkdir %REPO%/RemoteDeleteTest -m "Add RemoteDeleteTest" 

@REM Create folders works 
svn mkdir "%REPO%/RemoteDeleteTest/A 1" -m "Add A 1" 
svn mkdir "%REPO%/A 2" "file:///C:/SVN/testCalLib/RemoteDeleteTest/A 3"
-m "Add A 2+3" 

@REM Delete one works 
svn delete "%REPO%/RemoteDeleteTest/A 1" --message "Delete A 1" 

@REM Delete multiple does not work 
svn delete "%REPO%/RemoteDeleteTest/A 2" "%REPO%/RemoteDeleteTest/A 3"
-m "Delete A 2+3" 

@REM --> svn: URL '/RemoteDeleteTest/A%25202' does not exist

 

Regards,

Stefan



<P><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR>Hitta kärleken med hjälp av vårt matchningstest - <a href="http://spray.matchaffinity.se/?mtcmk=614114">Klicka här!</a></font>