changeset 45608 | 00402df57db7 |
parent 45580 | 5c8230ca37f2 |
child 45866 | d68618954ade |
--- a/mercurial/hg.py Mon Sep 28 16:54:35 2020 +0200 +++ b/mercurial/hg.py Mon Sep 28 08:07:09 2020 -0700 @@ -1049,6 +1049,10 @@ When overwrite is set, changes are clobbered, merged else returns stats (see pydoc mercurial.merge.applyupdates)""" + repo.ui.deprecwarn( + b'prefer merge.update() or merge.clean_update() over hg.updaterepo()', + b'5.7', + ) return mergemod._update( repo, node,