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

[Subclipse-users] issue when having spaces in the URL used for the SVNUrl

From: Aravinda Dassanayake <aravinda777_at_gmail.com>
Date: Thu, 3 Jun 2010 15:11:03 +0530

Hi team,

Not sure if this is the correct place to post this. But, let me take a stab.

I am using the SVNClientAdpater in an application I am using to communicate
with an SVN server.

However, I am coming across an issue when I am having URLs with spaces.

First I am creating a SVNUrl object, and passing that to the
getLogMessages() method. When I use a URL string with a space I get the
following exception.
*
SVN Client Exception in LogHandler
org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris.subversion.svnclientadapter.commandline.CmdLineException: svn:
Unable to find repository location for '
https://scm.companyname.com/repolocation/trunk/Releases/UnitTests/Test%20Unit%20Tests'
in revision 4644*

When I wrap the string sent to create the SVNUrl with quotes (eg:
"https://........")
it does not allow that either. The I get the error as below.
*
Malformed URL Exception in LogHandler java.net.MalformedURLException:
Invalid svn url: "
https://scm.companyname.com/repolocation/trunk/Releases/UnitTests/Test Unit
Tests"
*
Any suggestions to get around this?

Regards,
Aravinda

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2616347

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2010-06-03 13:34:20 CEST

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

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