3 create_darcs test2
--darcs-2
5 rm -rf test2.darcs test2.git
11 if [ "$1" != "--stdout" ]; then
12 dmark
="$(pwd)/test2.git/darcs/test2.dfe-marks"
13 gmark
="$(pwd)/test2.git/darcs/test2.gfi-marks"
15 darcs-fast-export
--export-marks=$dmark test2
--working test2.git
/darcs
/repo |
(cd test2.git
; git fast-import
--export-marks=$gmark)
16 diff_git test2 || die
"initial conversion differs"
17 upd_file_darcs test2 file2 upd_contents
18 darcs-fast-export
--export-marks=$dmark --import-marks=$dmark test2
--working test2.git
/darcs
/repo |
(cd test2.git
; git fast-import
--export-marks=$gmark --import-marks=$gmark)
19 diff_git test2 || die
"update differs"
21 darcs-fast-export test2