[Bps-public-commit] SD branch, master, updated. 0d2b273968b51c88e0653b795372644f410a7c60
jesse
jesse at bestpractical.com
Thu Jun 4 18:40:23 EDT 2009
The branch, master has been updated
via 0d2b273968b51c88e0653b795372644f410a7c60 (commit)
from adb203dde5130a3a6922e3fe804a1d88a9bc00e6 (commit)
Summary of changes:
lib/App/SD/ForeignReplica.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 0d2b273968b51c88e0653b795372644f410a7c60
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Thu Jun 4 18:39:56 2009 -0400
If there's no upstream last creation date, pass in an empty string rather than nothing
diff --git a/lib/App/SD/ForeignReplica.pm b/lib/App/SD/ForeignReplica.pm
index 1b2a500..5198204 100644
--- a/lib/App/SD/ForeignReplica.pm
+++ b/lib/App/SD/ForeignReplica.pm
@@ -169,7 +169,7 @@ sub traverse_changesets {
# because of that, we need to hint to the push side of the system what the most recent
# txn on each ticket it has.
my $previously_modified
- = App::SD::Util::string_to_datetime( $self->upstream_last_modified_date );
+ = App::SD::Util::string_to_datetime( $self->upstream_last_modified_date || '');
my $created_datetime = App::SD::Util::string_to_datetime( $changeset->created );
$self->record_upstream_last_modified_date( $changeset->created )
if ( ( $created_datetime ? $created_datetime->epoch : 0 )
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list