hgext/notify.py
changeset 3679 2956948b81f3
parent 3643 b4ad640a3bcf
child 3739 16f8e7d1dd54
equal deleted inserted replaced
3678:7e622c9a9707 3679:2956948b81f3
   257 
   257 
   258     if used as changegroup hook, send one email for all changesets in
   258     if used as changegroup hook, send one email for all changesets in
   259     changegroup. else send one email per changeset.'''
   259     changegroup. else send one email per changeset.'''
   260     n = notifier(ui, repo, hooktype)
   260     n = notifier(ui, repo, hooktype)
   261     if not n.subs:
   261     if not n.subs:
   262         ui.debug(_('notify: no subscribers to repo %s\n' % n.root))
   262         ui.debug(_('notify: no subscribers to repo %s\n') % n.root)
   263         return
   263         return
   264     if n.skipsource(source):
   264     if n.skipsource(source):
   265         ui.debug(_('notify: changes have source "%s" - skipping\n') %
   265         ui.debug(_('notify: changes have source "%s" - skipping\n') %
   266                   source)
   266                   source)
   267         return
   267         return