[Bps-public-commit] r12429 - in Prophet/branches/moose: .

sartak at bestpractical.com sartak at bestpractical.com
Sat May 17 04:31:39 EDT 2008


Author: sartak
Date: Sat May 17 04:31:39 2008
New Revision: 12429

Modified:
   Prophet/branches/moose/   (props changed)
   Prophet/branches/moose/lib/Prophet/Replica.pm

Log:
 r56137 at onn:  sartak | 2008-05-17 04:30:18 -0400
 Check whether the changeset is empty rather than scalar @changes (which fails auto_deref)


Modified: Prophet/branches/moose/lib/Prophet/Replica.pm
==============================================================================
--- Prophet/branches/moose/lib/Prophet/Replica.pm	(original)
+++ Prophet/branches/moose/lib/Prophet/Replica.pm	Sat May 17 04:31:39 2008
@@ -539,7 +539,7 @@
         # Otherwise, record them locally
     my $res_handle =  $self->resolution_db_handle || $self;
 
-    return unless $changeset->changes;
+    return if $changeset->is_empty;
 
     $self->begin_edit();
     $self->record_changes($changeset);



More information about the Bps-public-commit mailing list