D6207: branchcache: add functions to validate changelog nodes

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Tue Apr 16 19:08:07 EDT 2019


yuja added a comment.


  >   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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6207

To: pulkit, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list