Show More
@@ -8,7 +8,6 b'' | |||||
8 | from node import nullid, nullrev, short, hex, bin |
|
8 | from node import nullid, nullrev, short, hex, bin | |
9 | from i18n import _ |
|
9 | from i18n import _ | |
10 | import ancestor, mdiff, error, util, scmutil, subrepo, patch, encoding, phases |
|
10 | import ancestor, mdiff, error, util, scmutil, subrepo, patch, encoding, phases | |
11 | import copies |
|
|||
12 | import match as matchmod |
|
11 | import match as matchmod | |
13 | import os, errno, stat |
|
12 | import os, errno, stat | |
14 | import obsolete as obsmod |
|
13 | import obsolete as obsmod | |
@@ -737,14 +736,6 b' class basefilectx(object):' | |||||
737 | c = visit.pop(max(visit)) |
|
736 | c = visit.pop(max(visit)) | |
738 | yield c |
|
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 | class filectx(basefilectx): |
|
739 | class filectx(basefilectx): | |
749 | """A filecontext object makes access to data related to a particular |
|
740 | """A filecontext object makes access to data related to a particular | |
750 | filerevision convenient.""" |
|
741 | filerevision convenient.""" |
General Comments 0
You need to be logged in to leave comments.
Login now