make repo.filectx() pass arbitrary arguments to super class

Fixes compatibility with Mercurial 4.6, daef13da66fe.
1 files changed, 2 insertions(+), 2 deletions(-)

M hgext/textful/__init__.py
M hgext/textful/__init__.py +2 -2
@@ 150,8 150,8 @@ def wraprepo(parcls):
                 return wrapworkingctx(e)
             return wrapchangectx(e)
 
-        def filectx(self, path, changeid=None, fileid=None):
-            x = super(textfulrepo, self).filectx(path, changeid, fileid)
+        def filectx(self, path, *args, **kwargs):
+            x = super(textfulrepo, self).filectx(path, *args, **kwargs)
             if not self._textfulenabled:
                 return x
             return wrapfilectx(x)