3 # Automated tests for "darcs mark-conflicts".
5 # The builtin ! has the wrong semantics for not.
6 not
() { "$@" && exit 1 ||
:; }
11 echo "Conflict, Base ." > child_of_conflict
12 darcs add child_of_conflict
13 darcs record
-am 'Conflict Base'
17 # Add and record differing lines to both repos
19 echo "Conflict, Part 1." > child_of_conflict
20 darcs record
-A author
-am 'Conflict Part 1'
23 echo "Conflict, Part 2." > child_of_conflict
24 darcs record
-A author
-am 'Conflict Part 2'
28 darcs pull
-a ..
/temp2
> log
31 grep 'v v' child_of_conflict
33 not
grep 'v v' child_of_conflict
35 grep 'v v' child_of_conflict