# HG changeset patch # User Pierre-Yves David # Date 1462951907 -7200 # Node ID 899879becd655139a06b67849064edd5d8680f38 # Parent ff07da10de4cb08cdd71ecdc72e95a9bbf3079df 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. diff -r ff07da10de4c -r 899879becd65 mercurial/merge.py --- 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()