mercurial/ui.py
changeset 41225 44914de4e915
parent 41210 929999d963b8
child 41284 b0e3f2d7c143
--- 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)