compat: pass all hgweb dispatch argument to the orig function
This make use compatible with whatever changes on this side.
--- a/hgext3rd/evolve/obsexchange.py Wed Mar 07 00:00:02 2018 -0500
+++ b/hgext3rd/evolve/obsexchange.py Wed Mar 14 02:21:07 2018 +0100
@@ -243,9 +243,9 @@
protohandler = orig(repo, req, query)
olddispatch = protohandler['dispatch']
- def newdispatch():
+ def newdispatch(*args, **kwargs):
try:
- return olddispatch()
+ return olddispatch(*args, **kwargs)
except hgwebcommon.ErrorResponse as inst:
if protohandler['cmd'] != 'listkeys':
raise