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

subversion/libsvn_ra/ra_loader.c:934: svn_ra_get_log: Assertion `*path != '/'' failed.

From: Olaf Hering <olh_at_suse.de>
Date: Wed, 23 Jan 2008 15:24:40 +0100

Maybe its already a known issue.
A perl script, which works with 1.4, fails with trunk:

subversion/libsvn_ra/ra_loader.c:934: svn_ra_get_log: Assertion `*path != '/'' failed.

Does the script need an update for some 1.5 API changes?
Details:
https://bugzilla.novell.com/show_bug.cgi?id=355266

...
use SVN::Ra;

my $ra = SVN::Ra->new(url => 'http://svn.collab.net/repos/svn/trunk');
$ra->get_log('/', 1, $ra->get_latest_revnum, 0, 1, 0, \&log_callback);
sub log_callback
{
  my ($paths, $revnum, $user, $datetime, $logmsg) = @_;
  print "$datetime - $user - r$revnum\n";

  while (my ($path, $changes) = each %$paths)
    {
      print $changes->action, " $path\n";
      if ($changes->copyfrom_path)
        {
          print " from ", $changes->copyfrom_path,
          " r", $changes->copyfrom_rev, "\n"
        }
    }

  print "\n";
}
...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-23 16:29:38 CET

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