copies: remove unnecessary override of p[12]copies() in workingctx
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 15 Jul 2019 15:29:22 -0700
changeset 42606 97b03f0e7c7b
parent 42605 5c36a7e4912a
child 42607 8f7c3f43e3ac
copies: remove unnecessary override of p[12]copies() in workingctx The implementation is identical to the version inherited from basectx. Differential Revision: https://phab.mercurial-scm.org/D6647
mercurial/context.py
--- a/mercurial/context.py	Fri Jul 12 19:38:18 2019 -0400
+++ b/mercurial/context.py	Mon Jul 15 15:29:22 2019 -0700
@@ -1592,10 +1592,6 @@
             elif src in p2manifest:
                 p2copies[dst] = src
         return p1copies, p2copies
-    def p1copies(self):
-        return self._copies[0]
-    def p2copies(self):
-        return self._copies[1]
 
     @propertycache
     def _manifest(self):