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

nobody at bestpractical.com nobody at bestpractical.com
Sun Mar 11 16:40:20 EDT 2007


Author: clkao
Date: Sun Mar 11 16:40:20 2007
New Revision: 2321

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

Log:
Restore the old but arguably wrong behaviour when
find_rev_from_changeset fails to find rev.

Modified: trunk/lib/SVK/Mirror/Backend/SVNRa.pm
==============================================================================
--- trunk/lib/SVK/Mirror/Backend/SVNRa.pm	(original)
+++ trunk/lib/SVK/Mirror/Backend/SVNRa.pm	Sun Mar 11 16:40:20 2007
@@ -386,7 +386,9 @@
               return $s_changeset <=> $changeset;
           } );
 
-    return $r if $r || !$seekback;
+    if (!$seekback) {
+	return defined $r ? $r : ();
+    }
 
     my $result;
     $r = $t->search_revision


More information about the svk-commit mailing list