[Subclipse-users] SVNClientAdapter and URLs paths that contain square brackets ([ and ])
From: Al Habte <aghabte_at_rockwellcollins.com>
Date: Thu, 28 Jun 2012 13:22:43 -0700 (PDT)
SVNClientAdapter Version: 1.6.12 (bundle version)
Attempting to get the SVN log information, of a URL path that contains square brackets ([ and ]) fails with "malformed or the scheme or host or path is missing". Here is the piece of code that shows
SVNUrl currentURL = new SVNUrl("http://bpsvn/sandbox/trunk/foo[bar].txt");
The above code raises an exception with the following error message:
org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: Bad URL passed to RA layer
Similarly, the getInfo() method below also fails and raises an exception, with a different error message, for the same URL:
ISVNClientAdapter svnClient = getSVNClient(new SVNUrl("http://bpsvn/sandbox/trunk/foo[bar].txt"),
This getInfo() method generates the following exception error message :
org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: Bogus URL
http://bpsvn/sandbox/trunk/foo(bar).txt
There seems to be a limitation in what special characters SVNClientAdapter can handle in a path. Is this a correct assessment? Is there a description on what special characters one can use or should avoid in a path?
Thanks,
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
|
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.