4 # Some tests for 'darcs changes'
14 darcs record
-A 'Mark Stosberg <a@b.com>' -a -m foo
date.t
18 darcs changes
date.t
> out
# trivial case first
22 darcs changes
--last=1 date.t
> out
26 darcs changes
--last 1 --summary date.t
> out
30 darcs changes
--last=1 --xml > out
32 grep '<a@b.com>' out
# check that --xml encodes < and >
36 # Add 6 records and try again
37 for i
in 0 1 2 3 4 5; do
39 darcs record
-a -m "foo record num $i" date.t
42 darcs changes
date.t
> out
46 darcs changes
--last=1 date.t
> out
50 darcs changes
--last 1 --summary date.t
> out
56 darcs changes
--context --from-patch='num 1' --to-patch 'num 4' > out
66 darcs add second_file.t
68 darcs record
-a -m adding_second_file second_file.t