changeset 25891:c73fada78589

revlog: correct comment about size of v0 index format
author Yuya Nishihara <yuya@tcha.org>
date Sun, 02 Aug 2015 01:14:11 +0900
parents 35e8d7139224
children 3df1574f3e75
files mercurial/revlog.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlog.py	Mon Aug 03 11:34:27 2015 -0700
+++ b/mercurial/revlog.py	Sun Aug 02 01:14:11 2015 +0900
@@ -100,9 +100,9 @@
 #  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