[PATCH 3 of 3] patchbomb: confirmation test
Christian Ebert
blacktrash at gmx.net
Thu Aug 26 10:24:42 CDT 2010
# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1282836273 -3600
# Node ID a479be24fa5c542917a205f2b609c2b6ce39989e
# Parent 594b41c8ff5a81d99c4408a41f65172c9ea595e0
patchbomb: confirmation test
diff --git a/tests/test-patchbomb.t b/tests/test-patchbomb.t
--- a/tests/test-patchbomb.t
+++ b/tests/test-patchbomb.t
@@ -46,6 +46,21 @@
+a
+ $ hg --config ui.interactive=1 email --confirm -n -f quux -t foo -c bar -r tip<<EOF
+ > n
+ > EOF
+ This patch series consists of 1 patches.
+
+
+ Patchbomb details:
+ Subject: [PATCH] a
+ From: quux
+ To: foo
+ Cc: bar
+ Bcc:
+ Reply-To:
+ are you sure you want to send [y]? patchbomb canceled
+
$ echo b > b
$ hg commit -Amb -d '2 0'
adding b
More information about the Mercurial-devel
mailing list