diff mercurial/localrepo.py @ 37316:836867586b83

repo: remove now-unused changectx() method (API) repo.changectx(x) was just a synonym for repo[x], so any extensions that fail due to this commit should switch over to that form. Differential Revision: https://phab.mercurial-scm.org/D3037
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 03 Apr 2018 13:19:35 -0700
parents 0a1fb171dc1d
children e826fe7a08c7
line wrap: on
line diff
--- a/mercurial/localrepo.py	Tue Apr 03 15:08:09 2018 -0700
+++ b/mercurial/localrepo.py	Tue Apr 03 13:19:35 2018 -0700
@@ -1073,9 +1073,6 @@
             f = f[1:]
         return filelog.filelog(self.svfs, f)
 
-    def changectx(self, changeid):
-        return self[changeid]
-
     def setparents(self, p1, p2=nullid):
         with self.dirstate.parentchange():
             copies = self.dirstate.setparents(p1, p2)