##// END OF EJS Templates
revlog: document v0 format
Benoit Boissinot -
r18585:b280f3bf default
parent child Browse files
Show More
@@ -91,6 +91,14 b' def decompress(bin):'
91 return bin[1:]
91 return bin[1:]
92 raise RevlogError(_("unknown compression type %r") % t)
92 raise RevlogError(_("unknown compression type %r") % t)
93
93
94 # index v0:
95 # 4 bytes: offset
96 # 4 bytes: compressed length
97 # 4 bytes: base rev
98 # 4 bytes: link rev
99 # 32 bytes: parent 1 nodeid
100 # 32 bytes: parent 2 nodeid
101 # 32 bytes: nodeid
94 indexformatv0 = ">4l20s20s20s"
102 indexformatv0 = ">4l20s20s20s"
95 v0shaoffset = 56
103 v0shaoffset = 56
96
104
General Comments 0
You need to be logged in to leave comments. Login now