[Bps-public-commit] SD branch, master, updated. 0.70-23-gc9661c0

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Sep 1 22:01:08 EDT 2009


The branch, master has been updated
       via  c9661c0249206a6d001bb7c956add99dcaa223e9 (commit)
      from  954c863776b34060c20cf191e09e671e2a8e94a6 (commit)

Summary of changes:
 lib/App/SD/Replica/lighthouse/PullEncoder.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit c9661c0249206a6d001bb7c956add99dcaa223e9
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Sep 2 09:59:07 2009 +0800

    small fix for lighthouse pull

diff --git a/lib/App/SD/Replica/lighthouse/PullEncoder.pm b/lib/App/SD/Replica/lighthouse/PullEncoder.pm
index 2f4555b..6e94e99 100644
--- a/lib/App/SD/Replica/lighthouse/PullEncoder.pm
+++ b/lib/App/SD/Replica/lighthouse/PullEncoder.pm
@@ -101,6 +101,7 @@ sub transcode_create_txn {
     my $self        = shift;
     my $txn         = shift;
     my $ticket      = $txn->{object};
+
     my $ticket_uuid = 
           $self->sync_source->uuid_for_remote_id($ticket->number);
     my $creator = $self->resolve_user_id_to( undef, $ticket->creator_name );
@@ -108,7 +109,7 @@ sub transcode_create_txn {
     my $changeset = Prophet::ChangeSet->new(
         {
             original_source_uuid => $ticket_uuid,
-            original_sequence_no => 0,
+            original_sequence_no => $created->epoch,
             creator              => $creator,
             created              => $created->ymd . " " . $created->hms
         }

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list