mercurial/ui.py
changeset 40678 c72a81bc2e82
parent 40602 c36175456350
child 40730 55b053af7196
equal deleted inserted replaced
40677:2b859742ea15 40678:c72a81bc2e82
  1707 
  1707 
  1708     def makeprogress(self, topic, unit="", total=None):
  1708     def makeprogress(self, topic, unit="", total=None):
  1709         '''exists only so low-level modules won't need to import scmutil'''
  1709         '''exists only so low-level modules won't need to import scmutil'''
  1710         return scmutil.progress(self, topic, unit, total)
  1710         return scmutil.progress(self, topic, unit, total)
  1711 
  1711 
  1712     def log(self, service, *msg, **opts):
  1712     def log(self, event, *msg, **opts):
  1713         '''hook for logging facility extensions
  1713         '''hook for logging facility extensions
  1714 
  1714 
  1715         service should be a readily-identifiable subsystem, which will
  1715         event should be a readily-identifiable subsystem, which will
  1716         allow filtering.
  1716         allow filtering.
  1717 
  1717 
  1718         *msg should be a newline-terminated format string to log, and
  1718         *msg should be a newline-terminated format string to log, and
  1719         then any values to %-format into that format string.
  1719         then any values to %-format into that format string.
  1720 
  1720