comparison tests/test-patchbomb.t @ 15165:3a55cee825ba

patchbomb: use prompt even in non-interactive mode This matches our pre-existing behavior from: changeset: 12197:540693065d40 user: Christian Ebert <blacktrash@gmx.net> files: hgext/patchbomb.py tests/test-patchbomb.t description: patchbomb: show prompt and selection in non-interactive mode changeset: 8940:01ada7b1861d user: Mads Kiilerich <mads@kiilerich.com> date: Sun Jun 21 03:13:38 2009 +0200 files: mercurial/ui.py tests/test-merge-prompt.out tests/test-merge-tools.out description: ui.prompt: Show prompt and selection in non-interactive mode
author Matt Mackall <mpm@selenic.com>
date Wed, 08 Sep 2010 08:31:07 +0200
parents 7bddec632821
children bb9ad375b51c 41885892796e
comparison
equal deleted inserted replaced
15164:7bddec632821 15165:3a55cee825ba
1472 no intro message in non-interactive mode 1472 no intro message in non-interactive mode
1473 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \ 1473 $ hg email --date '1970-1-1 0:1' -n -f quux -t foo -c bar --in-reply-to baz \
1474 > -r 0:1 | fixheaders 1474 > -r 0:1 | fixheaders
1475 This patch series consists of 2 patches. 1475 This patch series consists of 2 patches.
1476 1476
1477 Subject: [PATCH 0 of 2]
1477 1478
1478 Displaying [PATCH 1 of 2] a ... 1479 Displaying [PATCH 1 of 2] a ...
1479 Content-Type: text/plain; charset="us-ascii" 1480 Content-Type: text/plain; charset="us-ascii"
1480 MIME-Version: 1.0 1481 MIME-Version: 1.0
1481 Content-Transfer-Encoding: 7bit 1482 Content-Transfer-Encoding: 7bit
1881 $ HGENCODING=iso-8859-1 1882 $ HGENCODING=iso-8859-1
1882 $ export HGENCODING 1883 $ export HGENCODING
1883 $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" -s test -r 0 1884 $ hg email --date '1980-1-1 0:1' -m tmp.mbox -f quux -t "bar@${UUML}nicode.com" -s test -r 0
1884 This patch series consists of 1 patches. 1885 This patch series consists of 1 patches.
1885 1886
1887 Cc:
1886 1888
1887 Writing [PATCH] test ... 1889 Writing [PATCH] test ...
1888 1890
1889 $ cat tmp.mbox 1891 $ cat tmp.mbox
1890 From quux Tue Jan 01 00:01:01 1980 1892 From quux Tue Jan 01 00:01:01 1980
1925 $ hg add d 1927 $ hg add d
1926 $ hg ci -md -d '4 0' 1928 $ hg ci -md -d '4 0'
1927 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t 1929 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t
1928 comparing with ../t 1930 comparing with ../t
1929 searching for changes 1931 searching for changes
1932 From [test]: test
1930 This patch series consists of 8 patches. 1933 This patch series consists of 8 patches.
1931 1934
1932 1935
1933 Write the introductory message for the patch series. 1936 Write the introductory message for the patch series.
1934 1937
1938 Cc:
1935 1939
1936 Displaying [PATCH 0 of 8] test ... 1940 Displaying [PATCH 0 of 8] test ...
1937 Content-Type: text/plain; charset="us-ascii" 1941 Content-Type: text/plain; charset="us-ascii"
1938 MIME-Version: 1.0 1942 MIME-Version: 1.0
1939 Content-Transfer-Encoding: 7bit 1943 Content-Transfer-Encoding: 7bit
2197 2201
2198 dest#branch URIs: 2202 dest#branch URIs:
2199 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test 2203 $ hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test
2200 comparing with ../t 2204 comparing with ../t
2201 searching for changes 2205 searching for changes
2206 From [test]: test
2202 This patch series consists of 1 patches. 2207 This patch series consists of 1 patches.
2203 2208
2209 Cc:
2204 2210
2205 Displaying [PATCH] test ... 2211 Displaying [PATCH] test ...
2206 Content-Type: text/plain; charset="us-ascii" 2212 Content-Type: text/plain; charset="us-ascii"
2207 MIME-Version: 1.0 2213 MIME-Version: 1.0
2208 Content-Transfer-Encoding: 7bit 2214 Content-Transfer-Encoding: 7bit