fix timezones in darcs-fast-export, take 2
[girocco-darcs-fast-export.git] / t / testimport-rename.sh
blobc6fa29f00bc98a7e35f92652f9bd38a2b16aa3e9
1 . ./lib.sh
3 rm -rf test
4 mkdir test
5 cd test
6 git init
7 echo a > file
8 git add file
9 git commit -m a1
10 git mv file file2
11 git commit -m b
12 cd ..
14 rm -rf test.darcs
15 mkdir test.darcs
16 cd test.darcs
17 darcs init
18 cd ..
19 (cd test; git fast-export -M HEAD) > out
20 cat out | (cd test.darcs; darcs-fast-import)
21 if [ $? != 0 ]; then
22 exit 1
24 diff_importgit test
25 exit $?