localrepo: jettison parents() method per deprecation policy (API)
authorAugie Fackler <augie@google.com>
Wed, 04 May 2016 21:02:03 -0400
changeset 29075 3f0177d2b8fb
parent 29074 e7c679738503
child 29076 36d3535c6a47
localrepo: jettison parents() method per deprecation policy (API)
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Sun Apr 17 13:06:44 2016 +0900
+++ b/mercurial/localrepo.py	Wed May 04 21:02:03 2016 -0400
@@ -881,12 +881,6 @@
             f = f[1:]
         return filelog.filelog(self.svfs, f)
 
-    def parents(self, changeid=None):
-        '''get list of changectxs for parents of changeid'''
-        msg = 'repo.parents() is deprecated, use repo[%r].parents()' % changeid
-        self.ui.deprecwarn(msg, '3.7')
-        return self[changeid].parents()
-
     def changectx(self, changeid):
         return self[changeid]