##// 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 532 hg_bin = source_path / 'hg'
533 533
534 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 536 cwd=str(source_path),
537 537 env=env,
538 538 check=True,
@@ -542,7 +542,7 b' def synchronize_hg('
542 542 full_revision = res.stdout.decode('ascii')
543 543
544 544 args = [
545 'python2.7',
545 'python3',
546 546 str(hg_bin),
547 547 '--config',
548 548 'ui.ssh=ssh -F %s' % ssh_config,
@@ -261,7 +261,7 b' def synchronize_hg(hg_repo: pathlib.Path'
261 261 hg_bin = hg_repo / 'hg'
262 262
263 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 265 cwd=str(hg_repo),
266 266 env=env,
267 267 check=True,
@@ -271,7 +271,7 b' def synchronize_hg(hg_repo: pathlib.Path'
271 271 full_revision = res.stdout.decode('ascii')
272 272
273 273 args = [
274 'python2.7',
274 'python3',
275 275 hg_bin,
276 276 '--config',
277 277 'ui.ssh=ssh -F %s' % ssh_config,
General Comments 0
You need to be logged in to leave comments. Login now