diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py --- a/mercurial/scmutil.py +++ b/mercurial/scmutil.py @@ -447,6 +447,7 @@ 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()