5 # Check that the right patches get pushed using --dont-prompt-for-dependencies
17 darcs record
-Ax -alm foo1
19 darcs rec
-Ax -alm bar1
21 darcs record
-Ax -alm foo2
23 darcs record
-Ax -alm bar2
24 echo y | darcs push ..
/temp2
--dont-prompt-for-dependencies -p foo2
--dry-run > toto
25 #on the previous line, we don't get asked about foo1.
26 grep foo toto |
wc -l |
grep 2
27 #but we send it anyway.
28 grep bar toto |
wc -l |
grep 0