[Bps-public-commit] r11782 - in Prophet/trunk: .

jesse at bestpractical.com jesse at bestpractical.com
Sat Apr 19 15:05:50 EDT 2008


Author: jesse
Date: Sat Apr 19 15:05:49 2008
New Revision: 11782

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/Test/Participant.pm

Log:
 r29864 at 31b:  jesse | 2008-04-19 20:43:49 +0200
 * Making the prophet svn replica optional in testing


Modified: Prophet/trunk/lib/Prophet/Test/Participant.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Test/Participant.pm	(original)
+++ Prophet/trunk/lib/Prophet/Test/Participant.pm	Sat Apr 19 15:05:49 2008
@@ -170,6 +170,7 @@
     my @ret;
     lives_and {
         @ret = call_func(@args);
+        diag("As ".$ENV{'PROPHET_USER'}. " ".join(' ',@{$args[0]}));
         ok( 1, join( " ", $ENV{'PROPHET_USER'}, @{ $args[0] } ) );
     };
     return @ret;
@@ -190,7 +191,9 @@
     my $old_fh = select($str_fh);
 
     my $ret;
-    my $pool = SVN::Pool->new_default;
+    if (my $p = SVN::Pool->can('new_default')) {
+        $p->('SVN::Pool');    
+    };
     if ( my $sub = $cli->can( 'do_' . $cmd ) ) {
 
         # in_gladiator



More information about the Bps-public-commit mailing list