diff hgext/bugzilla.py @ 6747:f6c00b17387c

use repo[changeid] to get a changectx
author Matt Mackall <mpm@selenic.com>
date Thu, 26 Jun 2008 14:35:46 -0500
parents 962eb403165b
children f67d1468ac50
line wrap: on
line diff
--- a/hgext/bugzilla.py	Thu Jun 26 13:58:24 2008 -0500
+++ b/hgext/bugzilla.py	Thu Jun 26 14:35:46 2008 -0500
@@ -300,7 +300,7 @@
                          hooktype)
     try:
         bz = bugzilla(ui, repo)
-        ctx = repo.changectx(node)
+        ctx = repo[node]
         ids = bz.find_bug_ids(ctx)
         if ids:
             for id in ids: