[svk-commit] r2181 - trunk/lib/SVK/Mirror/Backend

clkao at bestpractical.com clkao at bestpractical.com
Sat Nov 18 23:48:01 EST 2006


Author: clkao
Date: Sat Nov 18 23:48:01 2006
New Revision: 2181

Modified:
   trunk/lib/SVK/Mirror/Backend/SVNRa.pm

Log:
Make sure source_path in mirror is defined.

Modified: trunk/lib/SVK/Mirror/Backend/SVNRa.pm
==============================================================================
--- trunk/lib/SVK/Mirror/Backend/SVNRa.pm	(original)
+++ trunk/lib/SVK/Mirror/Backend/SVNRa.pm	Sat Nov 18 23:48:01 2006
@@ -62,7 +62,7 @@
     my $ruuid = $t->root->node_prop($t->path, 'svm:ruuid') || $uuid;
     die loc("%1 is not a mirrored path.\n", $t->path) unless $uuid;
     my ( $root, $path ) = split('!',  $t->root->node_prop($t->path, 'svm:source'));
-
+    $path = '' unless defined $path;
     $self->source_root( $root );
     $self->source_path( $path );
 


More information about the svk-commit mailing list