From patchwork Sun Aug 2 07:35:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2,of,2] revlog: remove unused shaoffset constants From: Yuya Nishihara X-Patchwork-Id: 10081 Message-Id: To: mercurial-devel@selenic.com Date: Sun, 02 Aug 2015 16:35:11 +0900 # HG changeset patch # User Yuya Nishihara # Date 1438485379 -32400 # Sun Aug 02 12:16:19 2015 +0900 # Node ID a9bb6530d13ad0e50ec109546f434a91b689116a # Parent 4a526db25dcac847aa3add1886c591a334601abf revlog: remove unused shaoffset constants Call sites were removed at 61c9bc3da402, "revlog: remove lazy index". diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -104,7 +104,6 @@ def decompress(bin): # 20 bytes: parent 2 nodeid # 20 bytes: nodeid indexformatv0 = ">4l20s20s20s" -v0shaoffset = 56 class revlogoldio(object): def __init__(self): @@ -150,7 +149,6 @@ class revlogoldio(object): # 4 bytes: parent 2 rev # 32 bytes: nodeid indexformatng = ">Qiiiiii20s12x" -ngshaoffset = 32 versionformat = ">I" # corresponds to uncompressed length of indexformatng (2 gigs, 4-byte