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

perl bindings: SVN::Client::status provokes assertion failure

From: Eric Hanchrow <offby1_at_blarg.net>
Date: 2004-04-27 17:20:47 CEST

Debian Linux "testing"
subversion 1.0.2 (checked out from http://svn.collab.net/repos/svn/tags/1.0.2)
built with `configure -C --prefix=/usr/local/stow/svn-1.0.2 && make && make test && make install'
perl bindings built as described in subversion/bindings/swig/INSTALL
libapr0 Version: 2.0.49-1
libdb4.2-dev Version: 4.2.52-16

just type `perl kaboom.pl'. You'll see

        perl: subversion/libsvn_subr/path.c:156: svn_path_join: Assertion `is_canonical (base, blen)' failed.

And now for the uninformed speculation: the perl binding doesn't call
apr_filepath_merge, whereas when one invokes the command-line as `svn
st .', that function does get called. That function translates the
"." into the empty string, which apparently is what svn_client_status

The one thing that unites all human beings, regardless of age,
gender, religion, economic status or ethnic background, is that
deep down inside, we all believe that we are above average
         -- Dave Barry

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Apr 27 17:21:16 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.