D451: [RFC] revset: remove order information from tree
quark (Jun Wu)
phabricator at mercurial-scm.org
Sat Aug 19 18:17:37 UTC 2017
quark added a subscriber: yuja.
quark added a comment.
@yuja Let me know if this can simplify `matchtree`, `buildtree` implementation.
INLINE COMMENTS
> test-revset.t:2502
>
> $ try -p optimized '(reverse(contains("a")) + 2) & 0:2'
> * optimized:
The new code is less efficient here. I guess we it might be solvable by having a `_reverseand` operator that `_optimize` may use.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D451
To: quark, #hg-reviewers
Cc: yuja, mercurial-devel
More information about the Mercurial-devel
mailing list