D441: revset: optimize "draft() & ::x" pattern
quark (Jun Wu)
phabricator at mercurial-scm.org
Fri Aug 18 11:07:42 EDT 2017
quark added inline comments.
INLINE COMMENTS
> dagop.py:93
> + pfunc = lambda rev: filter(keepfunc, plainpfunc(rev))
> + revs = smartset.filteredset(revs, keepfunc)
> return _walkrevtree(pfunc, revs, startdepth, stopdepth, reverse=True)
Could use `revs.filter` instead.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D441
To: quark, #hg-reviewers
Cc: martinvonz, mercurial-devel
More information about the Mercurial-devel
mailing list