D6156: branchcache: add attributes to track which nodes are verified

Yuya Nishihara yuya at tcha.org
Sat Mar 23 21:25:54 EDT 2019


> @@ -231,8 +235,10 @@
>                  raise ValueError(
>                      r'node %s does not exist' % pycompat.sysstr(hex(node)))
>              self._entries.setdefault(label, []).append(node)
> +            self._verifiedbranches.add(label)

Can we expect that we'll rewrite this `load()` logic to handle verification
state of multiple nodes (i.e. heads) correctly? It's unclear to me how lazy
verification will be implemented.


More information about the Mercurial-devel mailing list