8 echo ALL ignore-times
> _darcs
/prefs
/defaults
11 darcs record
-a -m aa
-A test
13 echo y | darcs revert
-a
14 echo y
/d
/y |
tr / \\012 | darcs unrecord
15 # since the unrevert is impossible, we should fail if it succeeds...
16 echo y | darcs unrevert
&& exit 1 || true
18 # now let's try a possible unrevert, just for fun...
20 darcs record
-a -m bb
-A test
21 echo f
/b |
tr / \\012 > foo
22 darcs record
-a -m 'aaa becomes f' -A test
24 echo y | darcs revert
-a
25 echo y
/d
/y |
tr / \\012 | darcs unpull
26 # Now add the date back on at the end:
27 echo y | darcs unrevert
28 echo 'M ./foo +1' > correct_summary
29 darcs whatsnew
--dont-look-for-adds --summary > actual_summary
30 diff -c correct_summary actual_summary