diff mercurial/context.py @ 42606:97b03f0e7c7b

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
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 15 Jul 2019 15:29:22 -0700
parents e079e001d536
children 3cffc7bbec26
line wrap: on
line diff
--- 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):