Mercurial > hg > mercurial-crew-with-dirclash
comparison hgext/bugzilla.py @ 4431:8014159074a9
Fix typo in bugzilla extension.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 08 May 2007 11:51:16 -0700 |
parents | f8849648b0e2 |
children |
comparison
equal
deleted
inserted
replaced
4430:94cb7561337d | 4431:8014159074a9 |
---|---|
298 if node is None: | 298 if node is None: |
299 raise util.Abort(_('hook type %s does not pass a changeset id') % | 299 raise util.Abort(_('hook type %s does not pass a changeset id') % |
300 hooktype) | 300 hooktype) |
301 try: | 301 try: |
302 bz = bugzilla(ui, repo) | 302 bz = bugzilla(ui, repo) |
303 ctx = repo.changctx(node) | 303 ctx = repo.changectx(node) |
304 ids = bz.find_bug_ids(ctx) | 304 ids = bz.find_bug_ids(ctx) |
305 if ids: | 305 if ids: |
306 for id in ids: | 306 for id in ids: |
307 bz.update(id, ctx) | 307 bz.update(id, ctx) |
308 bz.notify(ids) | 308 bz.notify(ids) |