Mercurial > hg > mercurial-source
diff tests/test-transplant.t @ 20269:acb6cceaffd5
transplant: use "ui.extractchoices()" to show the list of available responses
Before this patch, transplant extension shows the list of available
responses by specific string, even though the prompt string passed to
"ui.promptchoice()" has enough (maybe i18n-ed) information.
This patch uses "ui.extractchoices()" to show the list of available
responses.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 02 Dec 2013 00:50:30 +0900 (2013-12-01) |
parents | 27d3f1fe42ac |
children | 7731a2281cf0 |
line wrap: on
line diff
--- a/tests/test-transplant.t +++ b/tests/test-transplant.t @@ -493,13 +493,13 @@ > EOF 1:d11e3596cc1a apply changeset? [ynmpcq?]: unrecognized response - apply changeset? [ynmpcq?]: y: transplant this changeset - n: skip this changeset + apply changeset? [ynmpcq?]: y: yes, transplant this changeset + n: no, skip this changeset m: merge at this changeset p: show patch c: commit selected changesets - q: cancel transplant - ?: show this help + q: quit and cancel transplant + ?: ? (show this help) apply changeset? [ynmpcq?]: 4:a53251cdf717 apply changeset? [ynmpcq?]: (no-eol) $ hg heads --template "{node|short}\n"