test-commandserver: remove unused repopath argument from check()
Instead of repopath, check() will receive connect() function as argument.
It will allow to connect to server of different mode.
--- a/contrib/hgclient.py Sat Sep 27 15:10:14 2014 +0900
+++ b/contrib/hgclient.py Sat Sep 27 22:39:01 2014 +0900
@@ -62,9 +62,9 @@
if ch.isupper():
return
-def check(func, repopath=None):
+def check(func):
sys.stdout.flush()
- server = connect(repopath)
+ server = connect()
try:
return func(server)
finally: