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

Re: svnurl and path.c

From: McClain Looney <m_at_loonsoft.com>
Date: 2004-04-26 01:57:09 CEST

nope, i try not to touch it, since 2.1 depends on it too :)

On Apr 25, 2004, at 4:06 PM, Cédric Chabanois wrote:

> Did you fix svnclientadapter ?
>
> Cédric
>
>> Hello,
>>
>> in svn 1.0.2, if a non-cannonical path is passed to
>> svn_path_join(base, component, pool), the assertion on 156 will fail.
>> currently, the SVNURL.getParent() function returns an SVNUrl with an
>> appended "/", which causes the vm to exit(!) due to the assertion
>> failure path.c. removing the +1 from the return statement.
>>
>> Here's a testcase:
>> public void testCanonicalGetParentToString()throws Exception{
>> SVNUrl url = new SVNUrl("http://blah.com/svn/blah/");
>> assertFalse(url.getParent().toString().endsWith("/"));
>> url = new SVNUrl("http://blah.com/svn/blah/A.class");
>> assertFalse(url.getParent().toString().endsWith("/"));
>> }
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: dev-help@subclipse.tigris.org
>
>

---
McClain Looney
m@loonsoft.com
Received on Mon Apr 26 09:57:09 2004

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

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