Mercurial > hg
comparison tests/run-tests.py @ 23053:5ba11ab48fcf stable
ui: separate option to show prompt echo, enabled only in tests (issue4417)
The problem in commandserver was addressed by 524b786bd54f, but it is tricky
to reuse ui.nontty option to disable echo back. Instead, this patch introduces
new option to enable echoing of prompt response.
Prompt echoing is changed to be off by default, which should avoid possible
breakage of output parsing in user scripts.
For now, this option is undocumented because it exists for internal use.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 21 Oct 2014 23:16:46 +0900 |
parents | 5f8f8225fc7e |
children | 605a8cb61a0c |
comparison
equal
deleted
inserted
replaced
23052:c1ae0b2c1719 | 23053:5ba11ab48fcf |
---|---|
679 hgrc = open(path, 'wb') | 679 hgrc = open(path, 'wb') |
680 hgrc.write('[ui]\n') | 680 hgrc.write('[ui]\n') |
681 hgrc.write('slash = True\n') | 681 hgrc.write('slash = True\n') |
682 hgrc.write('interactive = False\n') | 682 hgrc.write('interactive = False\n') |
683 hgrc.write('mergemarkers = detailed\n') | 683 hgrc.write('mergemarkers = detailed\n') |
684 hgrc.write('promptecho = True\n') | |
684 hgrc.write('[defaults]\n') | 685 hgrc.write('[defaults]\n') |
685 hgrc.write('backout = -d "0 0"\n') | 686 hgrc.write('backout = -d "0 0"\n') |
686 hgrc.write('commit = -d "0 0"\n') | 687 hgrc.write('commit = -d "0 0"\n') |
687 hgrc.write('shelve = --date "0 0"\n') | 688 hgrc.write('shelve = --date "0 0"\n') |
688 hgrc.write('tag = -d "0 0"\n') | 689 hgrc.write('tag = -d "0 0"\n') |