This is an archive of the discontinued Mercurial Phabricator instance.

revset: do not flip "and" arguments when optimizing
ClosedPublic

Authored by quark on Aug 30 2017, 7:12 PM.

Details

Summary

Rewrite flipand(y, x) to andsmally(x, y) so the AST order is unchanged,
which could be more friendly to developers.

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 30 2017, 7:12 PM
This revision was automatically updated to reflect the committed changes.