# HG changeset patch # User Yuya Nishihara # Date 2015-08-01 16:14:11 # Node ID c73fada785891f881ab9396cfef26a6f0f39b72b # Parent 35e8d7139224de57da7ef004f3f3a1419145818c revlog: correct comment about size of v0 index format diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -100,9 +100,9 @@ def decompress(bin): # 4 bytes: compressed length # 4 bytes: base rev # 4 bytes: link rev -# 32 bytes: parent 1 nodeid -# 32 bytes: parent 2 nodeid -# 32 bytes: nodeid +# 20 bytes: parent 1 nodeid +# 20 bytes: parent 2 nodeid +# 20 bytes: nodeid indexformatv0 = ">4l20s20s20s" v0shaoffset = 56