[svk-commit] r2613 - branches/bm/lib/SVK/Path

nobody at bestpractical.com nobody at bestpractical.com
Mon Nov 26 14:27:49 EST 2007


Author: clkao
Date: Mon Nov 26 14:27:49 2007
New Revision: 2613

Modified:
   branches/bm/lib/SVK/Path/View.pm

Log:
Path::View: If we can't recreate view, that means previous
revision doesn't exist

Modified: branches/bm/lib/SVK/Path/View.pm
==============================================================================
--- branches/bm/lib/SVK/Path/View.pm	(original)
+++ branches/bm/lib/SVK/Path/View.pm	Mon Nov 26 14:27:49 2007
@@ -138,7 +138,7 @@
 	$self = $self->new;
 	$self->source->revision($revision);
 	$self->revision($revision);
-	$self->_recreate_view;
+	eval { $self->_recreate_view; } or return undef;
     }
     return $self;
 }


More information about the svk-commit mailing list