Mercurial > hg-stable
changeset 38004:2f86f259aefa
scmutil: remove deprecated revpairnodes method (API)
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 11 May 2018 00:55:01 -0400 |
parents | 000039f6ca2d |
children | 8298e55fc9a4 |
files | mercurial/scmutil.py |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/scmutil.py Fri May 11 00:54:37 2018 -0400 +++ b/mercurial/scmutil.py Fri May 11 00:55:01 2018 -0400 @@ -565,11 +565,6 @@ tree = revsetlang.parse(revspec) return tree and tree[0] in ('range', 'rangepre', 'rangepost', 'rangeall') -def revpairnodes(repo, revs): - repo.ui.deprecwarn("revpairnodes is deprecated, please use revpair", "4.6") - ctx1, ctx2 = revpair(repo, revs) - return ctx1.node(), ctx2.node() - def revpair(repo, revs): if not revs: return repo['.'], repo[None]