Follow upstream changes -- Bytestring updates
[git-darcs-import.git] / tests / pending.sh
blobac58ed1171d8db320a1b8b2df226c0bf1c43e76d
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp temp_0
5 mkdir temp
6 cd temp
7 darcs init
8 date > bla
9 darcs add bla
10 darcs record -a --patch-name=11
11 echo hello > world
12 darcs add world
13 darcs whatsnew --dont-look-for-adds > wn1
14 cd ..
15 darcs get temp
16 cd temp_0
17 date > bla2
18 date >> bla
19 darcs add bla2
20 darcs record -a --patch-name=22
21 darcs push -a ../temp
22 cd ..
23 cd temp
24 darcs whatsnew --dont-look-for-adds > wn2
25 diff wn1 wn2
27 darcs record -a -m 'cleaning up for new test.'
28 date > foo.jpg
29 darcs add foo.jpg
30 darcs whatsnew
32 darcs remove foo.jpg
33 darcs whatsnew && exit 1
35 cd ..
37 rm -rf temp temp0