You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
base.DebugfCtx(ctx, base.KeyCRUD, "PutExistingCurrentVersion(%q): No new versions to add. existing: %#v new:%#v", base.UD(newDoc.ID), doc.HLV, newDocHLV)
1346
1346
returnnil, nil, false, nil, base.ErrUpdateCancel// No new revisions to add
1347
-
}
1348
-
if!isConflict {
1347
+
caseHLVNoConflict:
1348
+
ifdoc.HLV.EqualCV(newDocHLV) {
1349
+
base.DebugfCtx(ctx, base.KeyCRUD, "PutExistingCurrentVersion(%q): No new versions to add. existing: %#v new:%#v", base.UD(newDoc.ID), doc.HLV, newDocHLV)
1350
+
returnnil, nil, false, nil, base.ErrUpdateCancel// No new revisions to add
1351
+
}
1349
1352
// update hlv for all newer incoming source version pairs
base.InfofCtx(ctx, base.KeyCRUD, "conflict detected between the two HLV's for doc %s, incoming version %s, local version %s", base.UD(doc.ID), newDocHLV.GetCurrentVersionString(), doc.HLV.GetCurrentVersionString())
0 commit comments