revlog: correct comment about size of v0 index format
authorYuya Nishihara <yuya@tcha.org>
Sun, 02 Aug 2015 01:14:11 +0900
changeset 25891 c73fada78589
parent 25890 35e8d7139224
child 25892 3df1574f3e75
revlog: correct comment about size of v0 index format
mercurial/revlog.py
--- 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