Mercurial > evolve
changeset 462:d38e02332c2c
obsolet: fix extension help code about extension wrapping
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Mon, 20 Aug 2012 22:18:10 +0200 |
parents | cd43fd9f923f |
children | 3f91654713dd |
files | hgext/obsolete.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: