nodemap: match comment to actual code
REV_OFFSET constant is 2, not 10.
Differential Revision: https://phab.mercurial-scm.org/D9688
--- a/mercurial/revlogutils/nodemap.py Sun Dec 20 15:38:50 2020 +0100
+++ b/mercurial/revlogutils/nodemap.py Thu Jan 07 11:51:18 2021 +0100
@@ -391,7 +391,9 @@
#
# * value >= 0 -> index of sub-block
# * value == -1 -> no value
-# * value < -1 -> a revision value: rev = -(value+10)
+# * value < -1 -> encoded revision: rev = -(value+2)
+#
+# See REV_OFFSET and _transform_rev below.
#
# The implementation focus on simplicity, not on performance. A Rust
# implementation should provide a efficient version of the same binary