This is an archive of the discontinued Mercurial Phabricator instance.

tweakdefaults: add capability to skip some commands in cleanupnodes wrapper

Authored by pulkit on Oct 12 2017, 5:59 PM.



The goal to show hash changes is to add support for json output printing full
hashes to increase support for automation and Nuclide. To achieve the goal in
best and clean way, we must use formatter. So support of using formatter and
having json output for commands will be added to commands. Since for those
commands we don't need this wrapper, lets add a functionality to skip the
wrapper for some commands.

We need to update the set introduced in this patch for each command we add
support to show hash changes.

Diff Detail

rFBHGX Facebook Mercurial Extensions
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit created this revision.Oct 12 2017, 5:59 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptOct 12 2017, 5:59 PM
quark accepted this revision.Oct 16 2017, 6:26 PM
quark added a subscriber: quark.
quark added inline comments.

I have changed args[0] to operation.

This revision is now accepted and ready to land.Oct 16 2017, 6:26 PM
This revision was automatically updated to reflect the committed changes.