Mercurial > public > mercurial-scm > hg
diff mercurial/localrepo.py @ 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 | 032c4c2f802a |
children | b207653ada10 |
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]