changeset 29075:3f0177d2b8fb

localrepo: jettison parents() method per deprecation policy (API)
author Augie Fackler <augie@google.com>
date Wed, 04 May 2016 21:02:03 -0400
parents e7c679738503
children 36d3535c6a47
files mercurial/localrepo.py
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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]