5 # Check that the right patches get unrecorded using --dont-prompt-for-dependencies
12 darcs record
-Ax -alm foo1
14 darcs rec
-Ax -alm bar1
16 darcs record
-Ax -alm foo2
18 darcs record
-Ax -alm bar2
19 darcs unrec
--no-deps -p foo1
20 darcs changes
-p foo
--count |
grep 2
21 #foo1 is depended upon, we don't unpull it
22 echo y | darcs unrec
--dont-prompt-for-dependencies -p foo1
23 #on the previous line, we don't get asked about foo2.
24 darcs changes
-p foo
--count |
grep 0
25 #yet, it is unrecorded.
26 darcs changes
-p bar
--count |
grep 2