This is an archive of the discontinued Mercurial Phabricator instance.

metadataonlyctx: don't crash when reusing the manifest with deletions
ClosedPublic

Authored by quark on Aug 28 2017, 8:49 PM.

Details

Summary

This was originally fixed by Mateusz Kwapich for the metaedit command in
fb-hgext with a test for the metaedit command. It didn't get upstreamed
because metaedit was not in core.

This patch fixes the crash and adds a test about metadataonlyctx to
avoid future regressions.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

quark created this revision.Aug 28 2017, 8:49 PM
This revision was automatically updated to reflect the committed changes.