##// END OF EJS Templates
automation: run hg with python3...
Gregory Szorc -
r49698:d953a42b default
parent child Browse files
Show More
@@ -532,7 +532,7 b' def synchronize_hg('
532 hg_bin = source_path / 'hg'
532 hg_bin = source_path / 'hg'
533
533
534 res = subprocess.run(
534 res = subprocess.run(
535 ['python2.7', str(hg_bin), 'log', '-r', revision, '-T', '{node}'],
535 ['python3', str(hg_bin), 'log', '-r', revision, '-T', '{node}'],
536 cwd=str(source_path),
536 cwd=str(source_path),
537 env=env,
537 env=env,
538 check=True,
538 check=True,
@@ -542,7 +542,7 b' def synchronize_hg('
542 full_revision = res.stdout.decode('ascii')
542 full_revision = res.stdout.decode('ascii')
543
543
544 args = [
544 args = [
545 'python2.7',
545 'python3',
546 str(hg_bin),
546 str(hg_bin),
547 '--config',
547 '--config',
548 'ui.ssh=ssh -F %s' % ssh_config,
548 'ui.ssh=ssh -F %s' % ssh_config,
@@ -261,7 +261,7 b' def synchronize_hg(hg_repo: pathlib.Path'
261 hg_bin = hg_repo / 'hg'
261 hg_bin = hg_repo / 'hg'
262
262
263 res = subprocess.run(
263 res = subprocess.run(
264 ['python2.7', str(hg_bin), 'log', '-r', revision, '-T', '{node}'],
264 ['python3', str(hg_bin), 'log', '-r', revision, '-T', '{node}'],
265 cwd=str(hg_repo),
265 cwd=str(hg_repo),
266 env=env,
266 env=env,
267 check=True,
267 check=True,
@@ -271,7 +271,7 b' def synchronize_hg(hg_repo: pathlib.Path'
271 full_revision = res.stdout.decode('ascii')
271 full_revision = res.stdout.decode('ascii')
272
272
273 args = [
273 args = [
274 'python2.7',
274 'python3',
275 hg_bin,
275 hg_bin,
276 '--config',
276 '--config',
277 'ui.ssh=ssh -F %s' % ssh_config,
277 'ui.ssh=ssh -F %s' % ssh_config,
General Comments 0
You need to be logged in to leave comments. Login now