( )⚙ D1093 scmutil: add capability to cleanupnodes to take obsmarker metadata

This is an archive of the discontinued Mercurial Phabricator instance.

scmutil: add capability to cleanupnodes to take obsmarker metadata
ClosedPublic

Authored by pulkit on Oct 15 2017, 10:28 AM.

Details

Summary

This patch adds a metadata argument to cleanupnodes() which will be dict and can
be passed to obsmarker.createmarkers() and can be stored on the obsmarker.
In cases when obsolescence is not enabled, the metadata argument is useless.

This is a step towards storing a note in amend.

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

pulkit created this revision.Oct 15 2017, 10:28 AM
dlax accepted this revision.Oct 16 2017, 4:27 AM
durin42 accepted this revision.Oct 16 2017, 9:36 PM
This revision is now accepted and ready to land.Oct 16 2017, 9:36 PM
This revision was automatically updated to reflect the committed changes.