diff options
Diffstat (limited to 'src/couchdb/couch_rep.erl')
-rw-r--r-- | src/couchdb/couch_rep.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep.erl b/src/couchdb/couch_rep.erl index 1411716f..b1c46db9 100644 --- a/src/couchdb/couch_rep.erl +++ b/src/couchdb/couch_rep.erl @@ -268,7 +268,7 @@ compare_replication_logs(SrcDoc, TgtDoc) -> compare_rep_history(SourceHistory, TargetHistory) end. -compare_rep_history(S, T) when length(S) =:= 0 orelse length(T) =:= 0 -> +compare_rep_history([], []) -> ?LOG_INFO("no common ancestry -- performing full replication", []), {0, []}; compare_rep_history([{S}|SourceRest], [{T}|TargetRest]=Target) -> |