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

Re: [BUG] svn ls file:///

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-11-05 23:13:54 CET

On Fri, 5 Nov 2004, Uwe Zeisberger wrote:

> (I use svn 1.1.0rc2 while writing this mail, but observed similar
> behaviour with HEAD a few days ago.)
> if I issue the command
> svn log file:///
> (in a wc or not) I get:
> Assertion failed: is_canonical (path, len), file [..]/subversion/libsvn_subr/path.c, line 376
> Abort
> I think file:/// is a valid url standing for '/'. (Please correct me, if
> I'm wrong.)
> If file:/// is a valid (and canonical) path, is_canonical
> (defined in path.c, line 95+) returns a wrong result (namely false).
Yes, it should skip the scheme and host parts before treating it like a

Also, svn_path_canonicalize is buggy in that it strips the trailing slash
in this case.

Would you like to file an issue for this - or even better prepare a patch.
(It is OK if you don't do, ofcourse.)

Thank you for the bug report,

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 5 23:04:21 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.