diff --git a/mercurial/merge.py b/mercurial/merge.py --- a/mercurial/merge.py +++ b/mercurial/merge.py @@ -1442,7 +1442,7 @@ def update(repo, node, branchmerge, forc 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()