Mercurial > hg
changeset 29148:899879becd65
devel: officially deprecate update without destination
When we introduce the develwarning, we did not had an official deprecation API
and infrastructure. We can now officially deprecate the old way with a version
deadline.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 11 May 2016 09:31:47 +0200 |
parents | ff07da10de4c |
children | 2e40fada340b |
files | mercurial/merge.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/merge.py Wed May 11 09:34:59 2016 +0200 +++ b/mercurial/merge.py Wed May 11 09:31:47 2016 +0200 @@ -1442,7 +1442,7 @@ pas = [repo[ancestor]] if node is None: - repo.ui.develwarn('update with no target', 'oldapi') + repo.ui.deprecwarn('update with no target', '3.9') rev, _mark, _act = destutil.destupdate(repo) node = repo[rev].node()