D748: cleanupnodes: separate out bookmark destination calculation from actual update
quark (Jun Wu)
phabricator at mercurial-scm.org
Thu Sep 21 18:53:46 EDT 2017
quark accepted this revision.
quark added inline comments.
INLINE COMMENTS
> scmutil.py:604
> + # move bookmark backwards
> + roots = list(unfi.set('max((::%n) - %ln)', oldnode,
> + list(mapping)))
I thought this could be `O(changelog)`, but it's `O(1)` given generatorset implicitly requires the generator to be sorted.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D748
To: martinvonz, #hg-reviewers, quark
Cc: quark, mercurial-devel
More information about the Mercurial-devel
mailing list