[Bps-public-commit] r16626 - in Prophet/trunk/lib/Prophet: Replica
ruz at bestpractical.com
ruz at bestpractical.com
Thu Oct 30 08:30:18 EDT 2008
Author: ruz
Date: Thu Oct 30 08:30:18 2008
New Revision: 16626
Modified:
Prophet/trunk/lib/Prophet/Replica.pm
Prophet/trunk/lib/Prophet/Replica/prophet.pm
Log:
* minor
Modified: Prophet/trunk/lib/Prophet/Replica.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Replica.pm (original)
+++ Prophet/trunk/lib/Prophet/Replica.pm Thu Oct 30 08:30:18 2008
@@ -467,7 +467,10 @@
$self->traverse_changesets(
after => $args{for}->last_changeset_from_source( $self->uuid ),
- callback => sub { $args{callback}->( $_[0] ) if $self->should_send_changeset( changeset => $_[0], to => $args{for});
+ callback => sub {
+ $args{callback}->( $_[0] ) if $self->should_send_changeset(
+ changeset => $_[0], to => $args{for}
+ );
}
);
}
Modified: Prophet/trunk/lib/Prophet/Replica/prophet.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Replica/prophet.pm (original)
+++ Prophet/trunk/lib/Prophet/Replica/prophet.pm Thu Oct 30 08:30:18 2008
@@ -639,8 +639,8 @@
$self->log("Traversing changesets between $first_rev and $latest");
for my $rev ( $first_rev .. $latest ) {
my $changeset = $self->_get_changeset_index_entry(
- sequence_no => $rev,
- index_file => $chgidx
+ sequence_no => $rev,
+ index_file => $chgidx
);
$args{callback}->($changeset);
More information about the Bps-public-commit
mailing list