# HG changeset patch # User Martin von Zweigbergk # Date 1546969840 28800 # Node ID 44914de4e91524c8f799c2f7aa195b6b395134b8 # Parent b129837190f754afdc61f04583b4da51bf74fccd progress: deprecate ui.progress() It is now just a weird wrapper for ui.makeprogress(). Differential Revision: https://phab.mercurial-scm.org/D5531 diff -r b129837190f7 -r 44914de4e915 mercurial/ui.py --- 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)