Mercurial > hg
changeset 22991:a94594f5d52f
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.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 27 Sep 2014 22:39:01 +0900 |
parents | a0e81aa94125 |
children | 892b2b8c1b50 |
files | contrib/hgclient.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: