Mercurial > public > mercurial-scm > hg-stable
diff mercurial/policy.py @ 43600:bd87114ce341
index: add a `rev` method (API)
The new `index.rev(node)` is to be preferred over using `node
index.nodemap[node]`.
This get us closer to be able to remove the `nodemap` attribute of the index.
Differential Revision: https://phab.mercurial-scm.org/D7324
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 09 Nov 2019 13:23:51 +0100 |
parents | 0c659fc20207 |
children | b56de57c45ce |
line wrap: on
line diff
--- a/mercurial/policy.py Fri Nov 08 13:26:55 2019 +0100 +++ b/mercurial/policy.py Sat Nov 09 13:23:51 2019 +0100 @@ -80,7 +80,7 @@ ('cext', 'bdiff'): 3, ('cext', 'mpatch'): 1, ('cext', 'osutil'): 4, - ('cext', 'parsers'): 14, + ('cext', 'parsers'): 15, } # map import request to other package or module