Mercurial > public > mercurial-scm > hg
diff tests/test-mq-qrefresh-interactive.t @ 25797:cc9fb45986d4
record: omit meaningless 'qnew' suggestion at 'hg qnew -i'
Before this patch, 'hg qnew -i' under non-interactive mode suggests
'use qnew instead', and it obviously meaningless.
To omit meaningless 'qnew' suggestion at 'hg qnew -i', this patch adds
internal function '_qrecord()' and specifies 'cmdsuggest' for each of
'qrecord' and 'qnew' separately.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 15 Jul 2015 04:45:58 +0900 |
parents | 9ab18a912c44 |
children | 08f2177b15c7 |
line wrap: on
line diff
--- a/tests/test-mq-qrefresh-interactive.t Wed Jul 15 04:45:58 2015 +0900 +++ b/tests/test-mq-qrefresh-interactive.t Wed Jul 15 04:45:58 2015 +0900 @@ -123,6 +123,12 @@ $ hg add 1.txt 2.txt dir/a.txt $ hg commit -m aaa + $ hg qrecord --config ui.interactive=false patch + abort: running non-interactively, use qnew instead + [255] + $ hg qnew -i --config ui.interactive=false patch + abort: running non-interactively + [255] $ hg qnew -d '0 0' patch Changing files