equal
deleted
inserted
replaced
530 env['HGENCODING'] = 'utf-8' |
530 env['HGENCODING'] = 'utf-8' |
531 |
531 |
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, |
539 capture_output=True, |
539 capture_output=True, |
540 ) |
540 ) |
541 |
541 |
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, |
549 '--config', |
549 '--config', |
550 'ui.remotecmd=/hgdev/venv-bootstrap/bin/hg', |
550 'ui.remotecmd=/hgdev/venv-bootstrap/bin/hg', |