# HG changeset patch # User Yuya Nishihara # Date 1411825141 -32400 # Node ID a94594f5d52fb7941c8e2e8de23f080dd6c597a1 # Parent a0e81aa94125739b63d98ea28fd11e60d9c90472 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. diff -r a0e81aa94125 -r a94594f5d52f contrib/hgclient.py --- 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: