##// END OF EJS Templates
updaterepo: add deprecation warning...
Martin von Zweigbergk -
r46180:00402df5 default
parent child Browse files
Show More
@@ -1049,6 +1049,10 b' def updaterepo(repo, node, overwrite, up'
1049 When overwrite is set, changes are clobbered, merged else
1049 When overwrite is set, changes are clobbered, merged else
1050
1050
1051 returns stats (see pydoc mercurial.merge.applyupdates)"""
1051 returns stats (see pydoc mercurial.merge.applyupdates)"""
1052 repo.ui.deprecwarn(
1053 b'prefer merge.update() or merge.clean_update() over hg.updaterepo()',
1054 b'5.7',
1055 )
1052 return mergemod._update(
1056 return mergemod._update(
1053 repo,
1057 repo,
1054 node,
1058 node,
General Comments 0
You need to be logged in to leave comments. Login now