D6207: branchcache: add functions to validate changelog nodes

Yuya Nishihara yuya at tcha.org
Tue Apr 16 18:46:10 EDT 2019


>   The motivation behind iteritems() change (https://phab.mercurial-scm.org/D6236) is optimizing https://www.mercurial-scm.org/repo/hg-committed/file/70b71421fd33/mercurial/commands.py#l1128.

Okay, got that, thanks.

>   Maybe we can iterate over verified nodes first, and then iterate over unverified nodes?

Maybe no. I don't think it's more likely for callers to get any verified node
and stop the iteration.


More information about the Mercurial-devel mailing list