--- a/hgext/obsolete.py Tue Aug 21 02:37:53 2012 +0200
+++ b/hgext/obsolete.py Mon Aug 20 22:18:10 2012 +0200
@@ -141,9 +141,9 @@
templatekw.keywords[name] = kw
for ext, command, wrapper in self._extcommandwrappers:
if ext not in knownexts:
- e = extensions.find('rebase')
+ e = extensions.find(ext)
if e is None:
- raise util.Abort('extension %s not found' %e)
+ raise util.Abort('extension %s not found' % ext)
knownexts[ext] = e.cmdtable
extensions.wrapcommand(knownexts[ext], commands, wrapper)
for c in self._extcallables: