[Bps-public-commit] r17151 - in sd/trunk/lib/App/SD/Replica: . hm rt
ruz at bestpractical.com
ruz at bestpractical.com
Tue Dec 9 10:01:53 EST 2008
Author: ruz
Date: Tue Dec 9 10:01:47 2008
New Revision: 17151
Modified:
sd/trunk/lib/App/SD/Replica/debbugs.pm
sd/trunk/lib/App/SD/Replica/debbugs/PushEncoder.pm
sd/trunk/lib/App/SD/Replica/hm.pm
sd/trunk/lib/App/SD/Replica/hm/PushEncoder.pm
sd/trunk/lib/App/SD/Replica/rt.pm
sd/trunk/lib/App/SD/Replica/rt/PushEncoder.pm
Log:
* normalize to record_pushed_transaction, it was used as record_pushed_transactions in
several places
Modified: sd/trunk/lib/App/SD/Replica/debbugs.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/debbugs.pm (original)
+++ sd/trunk/lib/App/SD/Replica/debbugs.pm Tue Dec 9 10:01:47 2008
@@ -25,7 +25,7 @@
# ...
}
-sub record_pushed_transactions {}
+sub record_pushed_transaction {}
# XXX record_pushed_tikcet should go up to the base class
Modified: sd/trunk/lib/App/SD/Replica/debbugs/PushEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/debbugs/PushEncoder.pm (original)
+++ sd/trunk/lib/App/SD/Replica/debbugs/PushEncoder.pm Tue Dec 9 10:01:47 2008
@@ -49,7 +49,7 @@
return undef;
}
- $self->sync_source->record_pushed_transactions(
+ $self->sync_source->record_pushed_transaction(
ticket => $id,
changeset => $changeset
);
Modified: sd/trunk/lib/App/SD/Replica/hm.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/hm.pm (original)
+++ sd/trunk/lib/App/SD/Replica/hm.pm Tue Dec 9 10:01:47 2008
@@ -115,7 +115,7 @@
return $status->{content}{tasks};
}
-sub record_pushed_transactions {
+sub record_pushed_transaction {
# don't need this for hm
}
Modified: sd/trunk/lib/App/SD/Replica/hm/PushEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/hm/PushEncoder.pm (original)
+++ sd/trunk/lib/App/SD/Replica/hm/PushEncoder.pm Tue Dec 9 10:01:47 2008
@@ -43,7 +43,7 @@
return undef;
}
- $self->sync_source->record_pushed_transactions(
+ $self->sync_source->record_pushed_transaction(
ticket => $id,
changeset => $changeset
);
Modified: sd/trunk/lib/App/SD/Replica/rt.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/rt.pm (original)
+++ sd/trunk/lib/App/SD/Replica/rt.pm Tue Dec 9 10:01:47 2008
@@ -43,7 +43,7 @@
$self->rt->login( username => $username, password => $password );
}
-sub record_pushed_transactions {
+sub record_pushed_transaction {
my $self = shift;
my %args = validate( @_,
{ ticket => 1, changeset => { isa => 'Prophet::ChangeSet' } } );
Modified: sd/trunk/lib/App/SD/Replica/rt/PushEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/rt/PushEncoder.pm (original)
+++ sd/trunk/lib/App/SD/Replica/rt/PushEncoder.pm Tue Dec 9 10:01:47 2008
@@ -43,7 +43,7 @@
return undef;
}
- $self->sync_source->record_pushed_transactions(
+ $self->sync_source->record_pushed_transaction(
ticket => $id,
changeset => $changeset
);
More information about the Bps-public-commit
mailing list