comparison mercurial/match.py @ 22934:8a096d4d0862

revlog: support importing censored file revision tombstones This change allows a revision log to not fail integrity checks when applying a changegroup delta (eg from a bundle) results in a censored file tombstone. The tombstone is inserted as-is, so future integrity verification will observe the tombstone. Deltas based on the tombstone will also remain correct. The new code path is encountered for *exactly* the cases where _addrevision is importing a tombstone from a changegroup. When committing a file containing the "magic" tombstone text, the "text" parameter will be non-empty and the checkhash call is not executed (and when committing, the node will be computed to match the "magic" tombstone text).
author Mike Edgar <adgar@google.com>
date Wed, 03 Sep 2014 16:34:29 -0400
parents bbb2f8b0459e
children 88d2d77eb981
comparison
equal deleted inserted replaced
22933:3a60cd44e619 22934:8a096d4d0862