diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
index 0a1fb171dc1ddd6a1cd1a5666e92299db12e9f5d_bWVyY3VyaWFsL2xvY2FscmVwby5weQ==..836867586b83bec900b53fc9651beed2826cd9ff_bWVyY3VyaWFsL2xvY2FscmVwby5weQ== 100644
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -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)
diff --git a/mercurial/repository.py b/mercurial/repository.py
index 0a1fb171dc1ddd6a1cd1a5666e92299db12e9f5d_bWVyY3VyaWFsL3JlcG9zaXRvcnkucHk=..836867586b83bec900b53fc9651beed2826cd9ff_bWVyY3VyaWFsL3JlcG9zaXRvcnkucHk= 100644
--- a/mercurial/repository.py
+++ b/mercurial/repository.py
@@ -493,12 +493,6 @@
     def file(f):
         """Obtain a filelog for a tracked path."""
 
-    def changectx(changeid):
-        """Obtains a changectx for a revision.
-
-        Identical to __getitem__.
-        """
-
     def setparents(p1, p2):
         """Set the parent nodes of the working directory."""