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

Problem persists: Command URLs with spaces parsed incorrectly

From: Matthias <matthias-ludwig_at_gmx.net>
Date: Sun, 3 Jun 2012 06:46:52 -0700 (PDT)

I'm using tortoiseSvn 1.7.7.

It a problem with tsvncmd handler with spaces.

There is already an issue to this topic (http://code.google.com/p/tortoisesvn/issues/detail?id=318) in fixed status.

As revision r22956 is part of 1.7.7 it should be fixed in this version. But it seems to persist after the bugfix.

If you call the Test-Url

<a href="tsvncmd:command:showcompare?url1:https://svn/trunk/Scripts/Desert Storm.ini?url2:https://svn/trunk/Scripts/Desert Storm.ini?revision1:229?revision2:230">Test</a>

it ends up in an empty error dialog ("Suversion reported an error:")

Looking at the code, it seems to that the algorithm ignores that there might exist muliple parameters.
the result for the example is

url1:"https://svn/trunk/Scripts/Desert Storm.ini?url2:https://svn/trunk/Scripts/Desert Storm.ini?revision1:229?revision2:230"

instead of:
url1:"https://svn/trunk/Scripts/Desert Storm.ini"?url2:"https://svn/trunk/Scripts/Desert Storm.ini"?revision1:229?revision2:230"

I would have send a path, but I do not have acces to developer studio.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2968594

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-06-03 15:53:21 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.