Mercurial > public > mercurial-scm > hg
comparison mercurial/revlog.py @ 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 | 00e3f909907f |
children | 3df1574f3e75 |
comparison
equal
deleted
inserted
replaced
25890:35e8d7139224 | 25891:c73fada78589 |
---|---|
98 # index v0: | 98 # index v0: |
99 # 4 bytes: offset | 99 # 4 bytes: offset |
100 # 4 bytes: compressed length | 100 # 4 bytes: compressed length |
101 # 4 bytes: base rev | 101 # 4 bytes: base rev |
102 # 4 bytes: link rev | 102 # 4 bytes: link rev |
103 # 32 bytes: parent 1 nodeid | 103 # 20 bytes: parent 1 nodeid |
104 # 32 bytes: parent 2 nodeid | 104 # 20 bytes: parent 2 nodeid |
105 # 32 bytes: nodeid | 105 # 20 bytes: nodeid |
106 indexformatv0 = ">4l20s20s20s" | 106 indexformatv0 = ">4l20s20s20s" |
107 v0shaoffset = 56 | 107 v0shaoffset = 56 |
108 | 108 |
109 class revlogoldio(object): | 109 class revlogoldio(object): |
110 def __init__(self): | 110 def __init__(self): |