Submitter | phabricator |
---|---|
Date | Jan. 9, 2019, 4:15 p.m. |
Message ID | <8ff46a22442fa92a0d890e0c2ae320b4@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/37576/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -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)