##// END OF EJS Templates
repo: remove now-unused changectx() method (API)...
Martin von Zweigbergk -
r37332:83686758 default
parent child Browse files
Show More
@@ -1073,9 +1073,6 b' class localrepository(object):'
1073 f = f[1:]
1073 f = f[1:]
1074 return filelog.filelog(self.svfs, f)
1074 return filelog.filelog(self.svfs, f)
1075
1075
1076 def changectx(self, changeid):
1077 return self[changeid]
1078
1079 def setparents(self, p1, p2=nullid):
1076 def setparents(self, p1, p2=nullid):
1080 with self.dirstate.parentchange():
1077 with self.dirstate.parentchange():
1081 copies = self.dirstate.setparents(p1, p2)
1078 copies = self.dirstate.setparents(p1, p2)
@@ -493,12 +493,6 b' class completelocalrepository(zi.Interfa'
493 def file(f):
493 def file(f):
494 """Obtain a filelog for a tracked path."""
494 """Obtain a filelog for a tracked path."""
495
495
496 def changectx(changeid):
497 """Obtains a changectx for a revision.
498
499 Identical to __getitem__.
500 """
501
502 def setparents(p1, p2):
496 def setparents(p1, p2):
503 """Set the parent nodes of the working directory."""
497 """Set the parent nodes of the working directory."""
504
498
General Comments 0
You need to be logged in to leave comments. Login now