couchbase-lite-core
couchbase-lite-core copied to clipboard
CBL-5634 (Fix): ReplacementRev puller enhancement
Turns out I had misread the spec before. "replacedRev" contains the revID of the rev we originally requested. "rev" still contains the revID of the rev we are being sent, whether or not it is a replacementRev. See the testing I've done for this in this PR: #2021
Code Coverage Results:
| Type | Percentage |
|---|---|
| branches | 69.87 |
| functions | 80.3 |
| instantiations | 36.84 |
| lines | 80.32 |
| regions | 76.86 |
Whoops I caught my keyboard and it assigned CBL-bot somehow 😆
@pasin I've added a log. It will be for example
Received revision 'doc1' #2-ff (seq '1') (replaced rev #1-ff)