Patchwork node: correct hex representation of pseudo node ids

login
register
mail settings
Submitter Yuya Nishihara
Date Aug. 18, 2018, 5:44 a.m.
Message ID <80e6fb836dd6a40559f4.1534571077@mimosa>
Download mbox | patch
Permalink /patch/33840/
State Accepted
Headers show

Comments

Yuya Nishihara - Aug. 18, 2018, 5:44 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@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
via Mercurial-devel - Aug. 20, 2018, 4:03 p.m.
On Fri, Aug 17, 2018 at 10:44 PM Yuya Nishihara <yuya@tcha.org> wrote:

> # HG changeset patch
> # User Yuya Nishihara <yuya@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
>

Queued, thanks.

Patch

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}