progress: deprecate ui.progress()
It is now just a weird wrapper for ui.makeprogress().
Differential Revision: https://phab.mercurial-scm.org/D5531
--- a/mercurial/ui.py Tue Jan 15 15:43:00 2019 -0800
+++ b/mercurial/ui.py Tue Jan 08 09:50:40 2019 -0800
@@ -1691,6 +1691,8 @@
All topics should be marked closed by setting pos to None at
termination.
'''
+ self.deprecwarn("use ui.makeprogress() instead of ui.progress()",
+ "5.1")
progress = self.makeprogress(topic, unit, total)
if pos is not None:
progress.update(pos, item=item)