[PATCH 04 of 13] parseindex: also forward keyword argument in a debug wrapper
Boris Feld
boris.feld at octobus.net
Tue Feb 6 08:21:25 EST 2018
# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1517914357 -3600
# Tue Feb 06 11:52:37 2018 +0100
# Node ID 53534aa0676becd566238ce945274853526e9823
# Parent 4cd271a9bd82ddca149a0dd5a2ae819a4c1db8ef
# EXP-Topic revlog-fp
# Available At https://bitbucket.org/octobus/mercurial-devel/
# hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 53534aa0676b
parseindex: also forward keyword argument in a debug wrapper
Otherwise, it gets in the way of a coming refactoring.
diff --git a/tests/test-parseindex.t b/tests/test-parseindex.t
--- a/tests/test-parseindex.t
+++ b/tests/test-parseindex.t
@@ -43,8 +43,8 @@ We approximate that by reducing the read
>
> def opener(*args):
> o = vfs.vfs(*args)
- > def wrapper(*a):
- > f = o(*a)
+ > def wrapper(*a, **kwargs):
+ > f = o(*a, **kwargs)
> return singlebyteread(f)
> return wrapper
>
More information about the Mercurial-devel
mailing list