Mercurial > hg
comparison mercurial/templateutil.py @ 44186:796d05f3fa84
rust-nodemap: generic NodeTreeVisitor
This iterator will help avoid code duplication when we'll
implement `insert()`, in which we will need to
traverse the node tree, and to remember the visited blocks.
The structured iterator item will allow different usages from
`lookup()` and the upcoming `insert()`.
Differential Revision: https://phab.mercurial-scm.org/D7794
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Fri, 27 Dec 2019 16:06:54 +0100 |
parents | 70d42e2ad9b4 |
children | fc1fa3a07af6 |
comparison
equal
deleted
inserted
replaced
44185:a19331456d48 | 44186:796d05f3fa84 |
---|