changeset 25892:3df1574f3e75

revlog: remove unused shaoffset constants Call sites were removed at 61c9bc3da402, "revlog: remove lazy index".
author Yuya Nishihara <yuya@tcha.org>
date Sun, 02 Aug 2015 12:16:19 +0900
parents c73fada78589
children 04ae6feb04c5
files mercurial/revlog.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlog.py	Sun Aug 02 01:14:11 2015 +0900
+++ b/mercurial/revlog.py	Sun Aug 02 12:16:19 2015 +0900
@@ -104,7 +104,6 @@
 # 20 bytes: parent 2 nodeid
 # 20 bytes: nodeid
 indexformatv0 = ">4l20s20s20s"
-v0shaoffset = 56
 
 class revlogoldio(object):
     def __init__(self):
@@ -150,7 +149,6 @@
 #  4 bytes: parent 2 rev
 # 32 bytes: nodeid
 indexformatng = ">Qiiiiii20s12x"
-ngshaoffset = 32
 versionformat = ">I"
 
 # corresponds to uncompressed length of indexformatng (2 gigs, 4-byte