Patchwork [5,of,6] revlog: remove _chunkbase since it is no longer used

login
register
mail settings
Submitter Siddharth Agarwal
Date Sept. 7, 2013, 8:40 p.m.
Message ID <8c45bfd4369fc7075fb2.1378586439@dev1091.prn1.facebook.com>
Download mbox | patch
Permalink /patch/2409/
State Accepted
Commit 6031fe568cd04263c1b03df76e0a769c4e6177cd
Headers show

Comments

Siddharth Agarwal - Sept. 7, 2013, 8:40 p.m.
# HG changeset patch
# User Siddharth Agarwal <sid0@fb.com>
# Date 1378533933 25200
#      Fri Sep 06 23:05:33 2013 -0700
# Node ID 8c45bfd4369fc7075fb2a2aca7cea6f492bd7782
# Parent  59e9548119a2921c1c4c96dff96cd303eb19fd77
revlog: remove _chunkbase since it is no longer used

This was introduced in 2011 for the lwcopy feature but never actually got used.
A similar hook can easily be reintroduced if needed in the future.

Patch

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -883,9 +883,6 @@ 
 
         return l
 
-    def _chunkbase(self, rev):
-        return self._chunk(rev)
-
     def _chunkclear(self):
         self._chunkcache = (0, '')