comparison 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
comparison
equal deleted inserted replaced
42605:5c36a7e4912a 42606:97b03f0e7c7b
1590 if src in p1manifest: 1590 if src in p1manifest:
1591 p1copies[dst] = src 1591 p1copies[dst] = src
1592 elif src in p2manifest: 1592 elif src in p2manifest:
1593 p2copies[dst] = src 1593 p2copies[dst] = src
1594 return p1copies, p2copies 1594 return p1copies, p2copies
1595 def p1copies(self):
1596 return self._copies[0]
1597 def p2copies(self):
1598 return self._copies[1]
1599 1595
1600 @propertycache 1596 @propertycache
1601 def _manifest(self): 1597 def _manifest(self):
1602 """generate a manifest corresponding to the values in self._status 1598 """generate a manifest corresponding to the values in self._status
1603 1599