##// END OF EJS Templates
localrepo: jettison parents() method per deprecation policy (API)
Augie Fackler -
r29075:3f0177d2 default
parent child Browse files
Show More
@@ -881,12 +881,6 b' class localrepository(object):'
881 f = f[1:]
881 f = f[1:]
882 return filelog.filelog(self.svfs, f)
882 return filelog.filelog(self.svfs, f)
883
883
884 def parents(self, changeid=None):
885 '''get list of changectxs for parents of changeid'''
886 msg = 'repo.parents() is deprecated, use repo[%r].parents()' % changeid
887 self.ui.deprecwarn(msg, '3.7')
888 return self[changeid].parents()
889
890 def changectx(self, changeid):
884 def changectx(self, changeid):
891 return self[changeid]
885 return self[changeid]
892
886
General Comments 0
You need to be logged in to leave comments. Login now