[svk-commit] r2361 - in trunk/lib/SVK: Mirror/Backend

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


Author: clkao
Date: Mon Mar 26 13:24:31 2007
New Revision: 2361

Modified:
   trunk/lib/SVK/Help/Environment.pod
   trunk/lib/SVK/Mirror/Backend/SVNRa.pm

Log:
* Allow $SVKNORAREPLAY to turn off new replay code.
* Update svk help environment.


Modified: trunk/lib/SVK/Help/Environment.pod
==============================================================================
--- trunk/lib/SVK/Help/Environment.pod	(original)
+++ trunk/lib/SVK/Help/Environment.pod	Mon Mar 26 13:24:31 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: trunk/lib/SVK/Mirror/Backend/SVNRa.pm
==============================================================================
--- trunk/lib/SVK/Mirror/Backend/SVNRa.pm	(original)
+++ trunk/lib/SVK/Mirror/Backend/SVNRa.pm	Mon Mar 26 13:24:31 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