Show More
@@ -8,7 +8,6 | |||
|
8 | 8 | from node import nullid, nullrev, short, hex, bin |
|
9 | 9 | from i18n import _ |
|
10 | 10 | import ancestor, mdiff, error, util, scmutil, subrepo, patch, encoding, phases |
|
11 | import copies | |
|
12 | 11 | import match as matchmod |
|
13 | 12 | import os, errno, stat |
|
14 | 13 | import obsolete as obsmod |
@@ -737,14 +736,6 class basefilectx(object): | |||
|
737 | 736 | c = visit.pop(max(visit)) |
|
738 | 737 | yield c |
|
739 | 738 | |
|
740 | def copies(self, c2): | |
|
741 | if not util.safehasattr(self, "_copycache"): | |
|
742 | self._copycache = {} | |
|
743 | sc2 = str(c2) | |
|
744 | if sc2 not in self._copycache: | |
|
745 | self._copycache[sc2] = copies.pathcopies(c2) | |
|
746 | return self._copycache[sc2] | |
|
747 | ||
|
748 | 739 | class filectx(basefilectx): |
|
749 | 740 | """A filecontext object makes access to data related to a particular |
|
750 | 741 | filerevision convenient.""" |
General Comments 0
You need to be logged in to leave comments.
Login now