Bug#359679: libsvn-core-perl: status(".", ...) gives an assert() error

Peter Samuelson peter at p12n.org
Wed Mar 29 09:03:18 UTC 2006

tags 359679 confirmed

[Julian Gilbey]
> burnside:~/debian/tex/tetex-bin $ perl -MSVN::Client -e \
>   'sub print_names { print "<$_[0]>\n"; } $ctx=new SVN::Client;
>   $ctx->status("", "BASE", \&print_names, 1, 1, 0, 1);' | head -5
> <>
> <.pc>
> <.pc/.version>
> <configure>
> <INSTALL.generic>

I reproduced your bugs with subversion 1.3.0-5, so I can properly
discuss it with upstream.  Unfortunately, I don't know much about the
Perl bindings.  But comparing "svn status" with your command, it does
seem to correspond to the "." entry.  I wonder if that is even
considered a bug.  I mean, if you prefix each entry with $(pwd)/, it is

> perl: /tmp/buildd/subversion-1.2.3dfsg1/subversion/libsvn_subr/path.c:377:
> svn_path_basename: Assertion `is_canonical (path, len)' failed.

Right, that's definitely a bug.  Even if this isn't something the perl
bindings can fix on their own, they should carp or something.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-subversion-maintainers/attachments/20060329/22a9d285/attachment.pgp

More information about the pkg-subversion-maintainers mailing list