mercurial/ui.py
changeset 38345 bec1212eceaa
parent 38164 aac4be30e250
child 38526 313a940d49a3
--- a/mercurial/ui.py	Sun Jun 17 18:01:49 2018 +0900
+++ b/mercurial/ui.py	Fri Jun 15 22:37:01 2018 -0700
@@ -1596,6 +1596,10 @@
         else:
             self.debug('%s:%s %d%s\n' % (topic, item, pos, unit))
 
+    def makeprogress(self, topic, unit="", total=None):
+        '''exists only so low-level modules won't need to import scmutil'''
+        return scmutil.progress(self, topic, unit, total)
+
     def log(self, service, *msg, **opts):
         '''hook for logging facility extensions