contrib/hgclient.py
changeset 22570 db497a1ef1c1
parent 22566 480b7fefbb08
child 22572 cc3d9f776632
equal deleted inserted replaced
22569:a763159159c7 22570:db497a1ef1c1
    61             print "unexpected channel %c: %r" % (ch, data)
    61             print "unexpected channel %c: %r" % (ch, data)
    62             if ch.isupper():
    62             if ch.isupper():
    63                 return
    63                 return
    64 
    64 
    65 def check(func, repopath=None):
    65 def check(func, repopath=None):
    66     print
       
    67     print 'testing %s:' % func.__name__
       
    68     print
       
    69     sys.stdout.flush()
    66     sys.stdout.flush()
    70     server = connect(repopath)
    67     server = connect(repopath)
    71     try:
    68     try:
    72         return func(server)
    69         return func(server)
    73     finally:
    70     finally: