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

svnurl and path.c

From: McClain Looney <m_at_loonsoft.com>
Date: 2004-04-22 21:43:07 CEST


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/");
                url = new SVNUrl("http://blah.com/svn/blah/A.class");

McClain Looney
LoonSoft LLC
Received on Fri Apr 23 05:43:07 2004

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