Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion rest/blip_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,14 @@ func (bh *blipHandler) sendChanges(sender *blip.Sender, params *subChangesParams
}
}()

// Don't send conflicting rev tree branches, just send the winning revision + history, since
// CBL 2.0 (and blip_sync) don't support branched revision trees. See LiteCore #437.
sendConflicts := false

bh.LogTo("Sync", "Sending changes since %v. User:%s", params.since(), bh.effectiveUsername)
options := db.ChangesOptions{
Since: params.since(),
Conflicts: true,
Conflicts: sendConflicts,
Continuous: bh.continuous,
ActiveOnly: bh.activeOnly,
Terminator: bh.blipSyncContext.terminator,
Expand Down