[svk-commit] r2878 - branches/path-resolver/lib/SVK/Root

nobody at bestpractical.com nobody at bestpractical.com
Tue May 13 00:52:42 EDT 2008


Author: ruz
Date: Tue May 13 00:52:40 2008
New Revision: 2878

Modified:
   branches/path-resolver/lib/SVK/Root/Checkout.pm

Log:
* return undef if there is no handle, md5_fh croaks, we don't want it

Modified: branches/path-resolver/lib/SVK/Root/Checkout.pm
==============================================================================
--- branches/path-resolver/lib/SVK/Root/Checkout.pm	(original)
+++ branches/path-resolver/lib/SVK/Root/Checkout.pm	Tue May 13 00:52:40 2008
@@ -65,6 +65,7 @@
 sub file_md5_checksum {
     my ($self, $path, $pool) = @_;
     my $fh = $self->file_contents($path, $pool);
+    return undef unless $fh;
     return md5_fh($fh);
 }
 


More information about the svk-commit mailing list