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

Does 1.4.0 API support 'svn log' using peg revisions? (perl)

From: Reedick, Andrew <Andrew.Reedick_at_BellSouth.com>
Date: 2006-10-02 17:15:45 CEST

I downloaded the 1.4.0 bindings for Perl, and the log command doesn't
seem to support peg revisions (which is new in 1.4.0.)
    $ctx->log($targets, $start, $end, $discover_changed_paths,
$strict_node_history, \&log_receiver, $pool);

Is it just me missing something, is the Perl 1.4.0 Client.pm out of date
in regards to code or documentation, or something?

== svn log with peg revision works ==
        D:\>svn log -r 4000 svn://server/repos/trunk_at_4000
        
------------------------------------------------------------------------
        r4000 | erice | 2006-08-17 16:16:25 -0400 (Thu, 17 Aug 2006) | 1
line
        
        DF157 - Cleanup batch timer reservations
        
------------------------------------------------------------------------

== Perl log command doesn't ==
        push @targets, "svn://server/repos/trunk_at_4000";
        my $start = 4000;
        my $end = 4000;
        my $pool;
        $ctx->log(\@targets, $start, $end, 1, undef, \&log_receiver);

        Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/SVN/Client.pm line 895.
        Filesystem has no item: File not found: revision 5105, path
'/trunk' at D:\dev\fastlog\foo.pl line 25

The "uninitialized value" is thrown whether the perl log command is
successful or not. The perl log does work with non-peg branches.

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA621

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 2 17:16:36 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.