[Bps-public-commit] r16162 - in Pushmi/trunk: Pushmi-Admin/lib/Pushmi/Admin/Model

alexmv at bestpractical.com alexmv at bestpractical.com
Mon Sep 29 19:14:11 EDT 2008


Author: alexmv
Date: Mon Sep 29 19:14:11 2008
New Revision: 16162

Modified:
   Pushmi/trunk/   (props changed)
   Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Model/Replica.pm

Log:
 r37832 at kohr-ah:  chmrr | 2008-09-29 19:11:56 -0400
  * Explode less if the top dir has gone away


Modified: Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Model/Replica.pm
==============================================================================
--- Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Model/Replica.pm	(original)
+++ Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Model/Replica.pm	Mon Sep 29 19:14:11 2008
@@ -220,7 +220,7 @@
 sub cache {
     my $self = shift;
     return $self->{cache} if $self->{cache};
-    return {} unless $self->id and -e $self->file_root;
+    return { status => "failed" } unless $self->id and -e $self->file_root;
 
     my $c      = {};
     my $local  = Pushmi::Admin->svn_info_for( "file://" . $self->svn_root );



More information about the Bps-public-commit mailing list