[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: Cédric Chabanois <cchabanois_at_no-log.org>
Date: 2004-04-25 23:06:50 CEST

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("/"));
> }
>
>
>
Received on Mon Apr 26 07:06:50 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.