fix timezones in darcs-fast-export, take 2
[girocco-darcs-fast-export.git] / t / test2-bzr-incremental.sh
blobd464559d1092a38dde226dbaa36030db4e840b73
1 . ./lib.sh
3 create_darcs test2 --darcs-2
5 rm -rf test2.darcs test2.bzr
6 mkdir test2.bzr
7 cd test2.bzr
8 bzr init-repo .
9 cd ..
10 if [ "$1" != "--stdout" ]; then
11 dmark="$(pwd)/test2.dfe-marks"
12 bmark="$(pwd)/test2.bfi-marks"
13 rm -f $mark $gmark
14 darcs-fast-export --export-marks=$dmark test2 |(cd test2.bzr; bzr fast-import --export-marks=$bmark -)
15 diff_bzr test2 || die "initial conversion differs"
16 upd_file_darcs test2 file2 upd_contents
17 darcs-fast-export --export-marks=$dmark --import-marks=$dmark test2 |(cd test2.bzr; bzr fast-import --export-marks=$bmark --import-marks=$bmark -)
18 diff_bzr test2 || die "update differs"
19 else
20 darcs-fast-export test2