comparison hgext/notify.py @ 2783:6b27a7125b67

make error better.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Sat, 05 Aug 2006 02:00:09 -0700
parents 90368f89340a
children 4ec58b157265
comparison
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