[Bps-public-commit] r11419 - in SVN-PropDB: t
clkao at bestpractical.com
clkao at bestpractical.com
Thu Apr 3 01:48:18 EDT 2008
Author: clkao
Date: Thu Apr 3 01:48:18 2008
New Revision: 11419
Modified:
SVN-PropDB/lib/Prophet/Sync/Source/SVN.pm
SVN-PropDB/t/simple-push.t
Log:
mostly right.
Modified: SVN-PropDB/lib/Prophet/Sync/Source/SVN.pm
==============================================================================
--- SVN-PropDB/lib/Prophet/Sync/Source/SVN.pm (original)
+++ SVN-PropDB/lib/Prophet/Sync/Source/SVN.pm Thu Apr 3 01:48:18 2008
@@ -180,7 +180,7 @@
my $since = $other->last_changeset_from_source( $self->uuid );
warn $since;
-
+ $self->fetch_changesets( after => $since );
}
Modified: SVN-PropDB/t/simple-push.t
==============================================================================
--- SVN-PropDB/t/simple-push.t (original)
+++ SVN-PropDB/t/simple-push.t Thu Apr 3 01:48:18 2008
@@ -30,19 +30,23 @@
my $bob = Prophet::Sync::Source->new( { url => repo_uri_for('bob') } );
my $changesets = $bob->new_changesets_for($alice);
-
+warn Dumper($changesets); use Data::Dumper;
as_alice {
# sync from bob
diag('Alice syncs from bob');
run_ok( 'prophet-merge', [ '--from', repo_uri_for('bob'), '--to', repo_uri_for('alice') ], "Sync ran ok!" );
+};
- run_ok( 'prophet-node-create', [qw(--type Bug --status new --from alice )], "Created a record as alice" );
+as_bob {
+ run_ok( 'prophet-node-create', [qw(--type Bug --status new --from bob )], "Created a record as alice" );
};
-my $changesets = $bob->new_changesets_for($alice);
+$changesets = $bob->new_changesets_for($alice);
+warn Dumper($changesets);
+
__END__
as_alice {
More information about the Bps-public-commit
mailing list