4 # issue279: a conflict case resulting in "bug in get_extra" with old
5 # format repos and "Malformed patch bundle" with darcs-2 repos.
7 not
() { "$@" && exit 1 ||
:; }
9 rm -rf temp1 temp_a temp_b temp_c temp_d
19 darcs put
--repodir temp1 temp_
$r
22 darcs record
-am "patch:$r";
27 darcs pull
-a ..
/temp_a
28 darcs pull
-a ..
/temp_b
29 darcs pull
-a ..
/temp_c
32 darcs pull
-a ..
/temp_a
33 darcs pull
-a ..
/temp_b
38 darcs pull
-a ..
/temp_c
> log
39 not
grep -i "no remote changes" log
40 not
grep -i get_extra log
43 rm -rf temp1 temp_a temp_b temp_c temp_d log