[svk-commit] r2364 - in branches/2.0-releng/lib/SVK: Mirror/Backend

nobody at bestpractical.com nobody at bestpractical.com
Mon Mar 26 13:26:59 EDT 2007


Author: clkao
Date: Mon Mar 26 13:26:59 2007
New Revision: 2364

Modified:
   branches/2.0-releng/lib/SVK/Help/Environment.pod
   branches/2.0-releng/lib/SVK/Mirror/Backend/SVNRa.pm

Log:
Merge from trunk:
 r2361 at trunk:  clkao | 2007-03-26 18:24:31 +0100
 * Allow $SVKNORAREPLAY to turn off new replay code.
 * Update svk help environment.
 


Modified: branches/2.0-releng/lib/SVK/Help/Environment.pod
==============================================================================
--- branches/2.0-releng/lib/SVK/Help/Environment.pod	(original)
+++ branches/2.0-releng/lib/SVK/Help/Environment.pod	Mon Mar 26 13:26:59 2007
@@ -154,11 +154,12 @@
 to B<bdb>.  To explicitly specify a repository type, set this variable
 to B<fsfs> or B<bdb>.
 
-=item $SVKNOSVM
+=item $SVKNORAREPLAY
 
-To be able to talk to a remote Subversion server, svk needs the
-SVN::Mirror perl package installed.  If you have SVN::Mirror installed,
-but want svk to operate as if you didn't, set $SVKNOSVM to a true value.
+By default, svk tries to make use of the replay api provided by
+Subversion if available.  You can turn this environment variable on to
+tell svk not to do so.  svk will then use the old C<SVN::Mirror>
+module to do mirroring.
 
 =item $SVKSVNBACKTRACE
 

Modified: branches/2.0-releng/lib/SVK/Mirror/Backend/SVNRa.pm
==============================================================================
--- branches/2.0-releng/lib/SVK/Mirror/Backend/SVNRa.pm	(original)
+++ branches/2.0-releng/lib/SVK/Mirror/Backend/SVNRa.pm	Mon Mar 26 13:26:59 2007
@@ -274,6 +274,9 @@
 
 sub has_replay_api {
     my $self = shift;
+
+    return if $ENV{SVKNORAREPLAY};
+
     return unless _p_svn_ra_session_t->can('replay');
 
     # The Perl bindings shipped with 1.4.0 has broken replay support


More information about the svk-commit mailing list