Mercurial > hg
comparison hgext/notify.py @ 9467:4c041f1ee1b4
do not attempt to translate ui.debug output
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 19 Sep 2009 01:15:38 +0200 |
parents | 9a69ab6d7cf7 |
children | 90ae579924e4 |
comparison
equal
deleted
inserted
replaced
9466:1214c64c592b | 9467:4c041f1ee1b4 |
---|---|
274 | 274 |
275 n = notifier(ui, repo, hooktype) | 275 n = notifier(ui, repo, hooktype) |
276 ctx = repo[node] | 276 ctx = repo[node] |
277 | 277 |
278 if not n.subs: | 278 if not n.subs: |
279 ui.debug(_('notify: no subscribers to repository %s\n') % n.root) | 279 ui.debug('notify: no subscribers to repository %s\n' % n.root) |
280 return | 280 return |
281 if n.skipsource(source): | 281 if n.skipsource(source): |
282 ui.debug(_('notify: changes have source "%s" - skipping\n') % source) | 282 ui.debug('notify: changes have source "%s" - skipping\n' % source) |
283 return | 283 return |
284 | 284 |
285 ui.pushbuffer() | 285 ui.pushbuffer() |
286 if hooktype == 'changegroup': | 286 if hooktype == 'changegroup': |
287 start, end = ctx.rev(), len(repo) | 287 start, end = ctx.rev(), len(repo) |