fix timezones in darcs-fast-export, take 2
[girocco-darcs-fast-export.git] / t / testimport-copy.sh
blob109d87eb1381c496c9bc7995fdd7603f6050f4fa
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 cp file file2
11 git add file2
12 git commit -m b
13 cd ..
15 rm -rf test.darcs
16 mkdir test.darcs
17 cd test.darcs
18 darcs init
19 cd ..
20 (cd test; git fast-export -C -C HEAD) > out
21 cat out | (cd test.darcs; darcs-fast-import)
22 if [ $? != 0 ]; then
23 exit 1
25 diff_importgit test
26 exit $?