D6647: copies: remove unnecessary override of p[12]copies() in workingctx

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Wed Jul 17 02:27:09 EDT 2019


Closed by commit rHG97b03f0e7c7b: copies: remove unnecessary override of p[12]copies() in workingctx (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6647?vs=15917&id=15925

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6647/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6647

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -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):



To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list