[Bps-public-commit] r11431 - SVN-PropDB/lib/Prophet/Sync

clkao at bestpractical.com clkao at bestpractical.com
Thu Apr 3 05:55:36 EDT 2008


Author: clkao
Date: Thu Apr  3 05:55:34 2008
New Revision: 11431

Modified:
   SVN-PropDB/lib/Prophet/Sync/Source.pm

Log:
wtf

Modified: SVN-PropDB/lib/Prophet/Sync/Source.pm
==============================================================================
--- SVN-PropDB/lib/Prophet/Sync/Source.pm	(original)
+++ SVN-PropDB/lib/Prophet/Sync/Source.pm	Thu Apr  3 05:55:34 2008
@@ -288,9 +288,13 @@
     my ($self, $other) = @_;
 
     my $since = $other->last_changeset_from_source( $self->uuid );
-    $self->fetch_changesets( after => $since );
-}
 
+    return [
+        grep { !( $_->is_nullification || $_->is_resolution )
+                && !$other->has_seen_changeset($_)
+            } @{ $self->fetch_changesets( after => $since ) }
+    ];
 
+}
 
 1;



More information about the Bps-public-commit mailing list