[PATCH] relnotes: mention the merging of index and nodemap

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Dec 16 08:06:42 EST 2019


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at octobus.net>
# Date 1576496466 -3600
#      Mon Dec 16 12:41:06 2019 +0100
# Node ID 6198a2aa960a4489104f7c870415dc37245cb68e
# Parent  aac921f54554eb1cb4d4416c8237773ceba7de9b
# EXP-Topic release-note-nodemap
# Available At https://dev.heptapod.net/octobus/mercurial-devel/
#              hg pull https://dev.heptapod.net/octobus/mercurial-devel/ -r 6198a2aa960a
relnotes: mention the merging of index and nodemap

diff --git a/relnotes/next b/relnotes/next
--- a/relnotes/next
+++ b/relnotes/next
@@ -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)`.


More information about the Mercurial-devel mailing list