Re: path.c:113: svn_path_join: Assertion `is_canonical (base, blen)' failed.
From: Ben Reser <ben_at_reser.org>
Date: 2004-08-26 10:52:47 CEST
On Wed, Aug 25, 2004 at 08:35:46PM -0700, Eric Hanchrow wrote:
Not that I'm aware of. It's an assert() so we would have fixed it right
> Here's what I did:
Well first of all svn info doesn't operate on repository URLs only
> And here's the stack trace:
Tracked the assert down to svn_path_dirname() was using
You can't dupliate this by doing:
because apr_filepath_merge() which we call in our option parsing unless
r10731 restores the previous 1.0.x behavior e.g.:
However, I'm not convinced this is exactly the right thing to do.
Honestly, I think it was a mistake to make our internal APIs accept URIs
Thus:
$ svn info foo://localhost
The problem here is that foo://localhost could be a perfectly legitimate
So in the context of a URI svn_path_dirname("foo://localhost") should
and in the context of a local path it should return:
Anyway I think the best solution is to just assume that
Thus I propose that svn_path_dirname() be fixed to understand that the
Now the question is, does everyone want this as a 1.2 fix or a 1.1 fix?
r10731 leaves us in exactly the same position we were with 1.0.x. So it
If everyone agrees with that I'll nominate r10731 for backport to 1.1.x
Thoughts?
-- Ben Reser <ben@reser.org> http://ben.reser.org "Conscience is the inner voice which warns us somebody may be looking." - H.L. Mencken --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Thu Aug 26 10:59:53 2004 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.