Mercurial > hg-stable
changeset 43895:458504a8cca1
relnotes: mention the merging of index and nodemap
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 16 Dec 2019 12:41:06 +0100 |
parents | 51bfd056a2ee |
children | d8a96cebf75d |
files | relnotes/next |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/relnotes/next Tue Dec 10 17:07:09 2019 -0500 +++ b/relnotes/next Mon Dec 16 12:41:06 2019 +0100 @@ -21,3 +21,8 @@ also called when only `explicitdir` used to be called. That may mean that you can simply remove the use of `explicitdir` if you were already using `traversedir`. + + * The `revlog.nodemap` object have been merged into the `revlog.index` object. + * `n in revlog.nodemap` becomes `revlog.index.has_node(n)`, + * `revlog.nodemap[n]` becomes `revlog.index.rev(n)`, + * `revlog.nodemap.get(n)` becomes `revlog.index.get_rev(n)`.