[Bps-public-commit] r16953 - sd/trunk/lib/App/SD/Replica/rt

ruz at bestpractical.com ruz at bestpractical.com
Thu Nov 20 11:47:54 EST 2008


Author: ruz
Date: Thu Nov 20 11:47:53 2008
New Revision: 16953

Modified:
   sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm

Log:
* minor

Modified: sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/rt/PullEncoder.pm	Thu Nov 20 11:47:53 2008
@@ -300,18 +300,19 @@
         $args{'txn'}->{'OldValue'}
     );
 
-    my $change = Prophet::Change->new(
-        {   record_type   => 'ticket',
-            record_uuid   => $self->sync_source->uuid_for_remote_id( $args{'ticket'}->{$self->sync_source->uuid . '-id'} ),
-            change_type => 'update_file'
-        }
-    );
-    $args{'changeset'}->add_change( { change => $change } );
+    my $change = Prophet::Change->new( {
+        record_type => 'ticket',
+        record_uuid => $self->sync_source->uuid_for_remote_id(
+            $args{'ticket'}->{$self->sync_source->uuid . '-id'}
+        ),
+        change_type => 'update_file',
+    } );
     $change->add_prop_change(
         name => $args{'txn'}->{'Field'},
         old  => $args{'ticket'}->{ $args{'txn'}->{'Field'} },
         new  => $new_state
     );
+    $args{'changeset'}->add_change( { change => $change } );
 }
 
 sub _recode_content_update {



More information about the Bps-public-commit mailing list