hgext/bugzilla.py
changeset 4431 8014159074a9
parent 3976 f8849648b0e2
--- a/hgext/bugzilla.py
+++ b/hgext/bugzilla.py
@@ -300,7 +300,7 @@ def hook(ui, repo, hooktype, node=None, 
                          hooktype)
     try:
         bz = bugzilla(ui, repo)
-        ctx = repo.changctx(node)
+        ctx = repo.changectx(node)
         ids = bz.find_bug_ids(ctx)
         if ids:
             for id in ids: