scmutil: remove deprecated revpairnodes method (API)
authorAugie Fackler <augie@google.com>
Fri, 11 May 2018 00:55:01 -0400
changeset 37960 2f86f259aefa
parent 37959 000039f6ca2d
child 37961 8298e55fc9a4
scmutil: remove deprecated revpairnodes method (API)
mercurial/scmutil.py
--- 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]