Mercurial > hg
changeset 37259:d29f6fbd1181
scmutil: deprecate revpairnodes()
Differential Revision: https://phab.mercurial-scm.org/D3012
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sat, 31 Mar 2018 23:34:15 -0700 |
parents | f654105f1517 |
children | 8e57c3b0dce4 |
files | mercurial/scmutil.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/scmutil.py Sun Apr 01 09:30:44 2018 -0700 +++ b/mercurial/scmutil.py Sat Mar 31 23:34:15 2018 -0700 @@ -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()