[PATCH] node: correct hex representation of pseudo node ids

Yuya Nishihara yuya at tcha.org
Sat Aug 18 05:44:37 UTC 2018


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1534554416 -32400
#      Sat Aug 18 10:06:56 2018 +0900
# Node ID 80e6fb836dd6a40559f43284a978a05f7ea08855
# Parent  b95b48a55c36050852b46868f4e4f750a29d8754
node: correct hex representation of pseudo node ids

diff --git a/mercurial/node.py b/mercurial/node.py
--- a/mercurial/node.py
+++ b/mercurial/node.py
@@ -29,9 +29,9 @@ nullhex = hex(nullid)
 # manifests.
 # In hex, this is '2121212121212121212121212121212121212121'
 newnodeid = '!!!!!!!!!!!!!!!!!!!!'
-# In hex, this is '0000000000000000000000000000006164646564'
+# In hex, this is '3030303030303030303030303030306164646564'
 addednodeid = '000000000000000added'
-# In hex, this is '0000000000000000000000006d6f646966696564'
+# In hex, this is '3030303030303030303030306d6f646966696564'
 modifiednodeid = '000000000000modified'
 
 wdirfilenodeids = {newnodeid, addednodeid, modifiednodeid}


More information about the Mercurial-devel mailing list