Mercurial > hg-stable
changeset 10472:9126d13bad7a stable
interhg: fixes regression introduced by 38170eeed18c
author | Wagner Bruna <wbruna@yahoo.com> |
---|---|
date | Sat, 06 Feb 2010 21:25:02 -0200 |
parents | 132eb7128ad5 |
children | 634b0e7561ec |
files | hgext/interhg.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/interhg.py Sun Feb 14 17:09:52 2010 +0100 +++ b/hgext/interhg.py Sat Feb 06 21:25:02 2010 -0200 @@ -40,7 +40,7 @@ templatefilters.filters["escape"] = interhg_escape -def interhg_refresh(orig, self): +def interhg_refresh(orig, self, *args, **kwargs): interhg_table[:] = [] for key, pattern in self.repo.ui.configitems('interhg'): # grab the delimiter from the character after the "s" @@ -75,6 +75,6 @@ except re.error: self.repo.ui.warn(_("interhg: invalid regexp for %s: %s\n") % (key, regexp)) - return orig(self) + return orig(self, *args, **kwargs) extensions.wrapfunction(hgweb_mod.hgweb, 'refresh', interhg_refresh)