comparison contrib/hgclient.py @ 51700:7f0cb9ee0534

Backout accidental publication of a large range of revisions I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 10:02:46 +0200
parents 493034cc3265
children ca7bde5dbafb
comparison
equal deleted inserted replaced
51699:bd1483fd7088 51700:7f0cb9ee0534
18 18
19 def bprint(*args): 19 def bprint(*args):
20 # remove b'' as well for ease of test migration 20 # remove b'' as well for ease of test migration
21 pargs = [re.sub(br'''\bb(['"])''', br'\1', b'%s' % a) for a in args] 21 pargs = [re.sub(br'''\bb(['"])''', br'\1', b'%s' % a) for a in args]
22 stdout.write(b' '.join(pargs) + b'\n') 22 stdout.write(b' '.join(pargs) + b'\n')
23
23 24
24 else: 25 else:
25 import cStringIO 26 import cStringIO
26 27
27 stdout = sys.stdout 28 stdout = sys.stdout