Follow upstream changes -- rest
[git-darcs-import.git] / tests / issue194.sh
blobfb49435594902514bc5bb504ebd563181ebee4df
1 set -ev
3 rm -rf temp1 temp2
5 mkdir temp1; cd temp1 ; darcs init ; cd ..
6 darcs get temp1 temp2
7 cd temp2/ ; echo 'x' > _darcs/prefs/author ; cd ..
8 cd temp1/ ; echo 'x' > _darcs/prefs/author ; cd ..
10 cd temp1/
11 touch test ; darcs record
12 darcs add test ; darcs record -a -m 'test'
13 darcs mv test best ; darcs record -a -m 'test -> best'
14 darcs mv best test ; darcs record -a -m 'best -> test'
15 cd ..
17 cd temp2/
18 touch test2
19 darcs add test2 ; darcs record -a -m 'test2'
20 darcs mv test2 best ; darcs record -a -m 'test2 -> best'
21 darcs mv best test2 ; darcs record -a -m 'best -> test2'
23 darcs pull ../temp1/ -a
24 cd ..
26 rm -rf temp1 temp2