[PATCH] interhg: update to match changes to hgweb in commit 38170eeed18c

John Mulligan phlogistonjohn at asynchrono.us
Sat Feb 6 10:40:59 CST 2010


# HG changeset patch
# User John Mulligan <phlogistonjohn at asynchrono.us>
# Date 1265474376 18000
# Node ID 557a8e74e8c5c46d1f0c9743ddcf8d9056984276
# Parent  2e9656d284cc8c2546723bd3eb570e3efa82afd3
interhg: update to match changes to hgweb in commit 38170eeed18c

that commit added a request paramter to the refresh function,
which needs to also appear in the wrapped version

diff --git a/hgext/interhg.py b/hgext/interhg.py
--- a/hgext/interhg.py
+++ b/hgext/interhg.py
@@ -40,7 +40,7 @@
 
 templatefilters.filters["escape"] = interhg_escape
 
-def interhg_refresh(orig, self):
+def interhg_refresh(orig, self, request=None):
     interhg_table[:] = []
     for key, pattern in self.repo.ui.configitems('interhg'):
         # grab the delimiter from the character after the "s"


More information about the Mercurial-devel mailing list