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

login
register
mail settings
Submitter phabricator
Date July 15, 2019, 10:36 p.m.
Message ID <differential-rev-PHID-DREV-5cq6gqv4i22unewxnf3p-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/40935/
State Superseded
Headers show

Comments

phabricator - July 15, 2019, 10:36 p.m.
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The implementation is identical to the version inherited from basectx.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS




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

Patch

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):