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

Problem with double escaped URLs during deletion

From: Stefan Landström <s_landstrom_at_spray.se>
Date: Mon, 31 Jan 2011 05:24:07 -0800

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 - Klicka här!</font>
Received on 2011-01-31 15:39:48 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.