hgext/notify.py
changeset 2783 6b27a7125b67
parent 2329 90368f89340a
child 2873 4ec58b157265
equal deleted inserted replaced
2782:0148869345f7 2783:6b27a7125b67
   253 
   253 
   254     if used as changegroup hook, send one email for all changesets in
   254     if used as changegroup hook, send one email for all changesets in
   255     changegroup. else send one email per changeset.'''
   255     changegroup. else send one email per changeset.'''
   256     n = notifier(ui, repo, hooktype)
   256     n = notifier(ui, repo, hooktype)
   257     if not n.subs:
   257     if not n.subs:
   258         ui.debug(_('notify: no subscribers to this repo\n'))
   258         ui.debug(_('notify: no subscribers to repo %s\n' % n.root))
   259         return
   259         return
   260     if n.skipsource(source):
   260     if n.skipsource(source):
   261         ui.debug(_('notify: changes have source "%s" - skipping\n') %
   261         ui.debug(_('notify: changes have source "%s" - skipping\n') %
   262                   source)
   262                   source)
   263         return
   263         return