diff tests/test-patchbomb @ 10022:585f51f8b5f0 stable

patchbomb: fix bug introduced in 4ddfad7ebd98 and add test Thanks to Augie Fackler for reporting this.
author Sune Foldager <cryo@cyanite.org>
date Tue, 08 Dec 2009 23:23:59 +0100
parents 4ddfad7ebd98
children 15fbbc939373 b190a8125b43
line wrap: on
line diff
--- a/tests/test-patchbomb	Sun Dec 06 23:22:17 2009 +0100
+++ b/tests/test-patchbomb	Tue Dec 08 23:23:59 2009 +0100
@@ -177,10 +177,13 @@
   -s test -r 0
 cat tmp.mbox | fixheaders
 
-echo "% test outgoing and dest#branch URIs"
+echo "% test outgoing"
 hg up 1
 hg branch test
 echo d > d
 hg add d
 hg ci -md -d '4 0'
+hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t | fixheaders
+
+echo "% dest#branch URIs"
 hg email --date '1980-1-1 0:1' -n -t foo -s test -o ../t#test | fixheaders