Hello,

it looks that incremental git import doesn't work:

f ver
This is fossil version 1.36 [e727b3d50b] 2016-10-06 18:56:51 UTC
f init test.fossil && mkdir test && cd test && f open ../test.fossil
date > z
f add z
f ci -m c1

mkdir ../test.git && cd ../test.git && git init
f export --git --export-marks ../fossil.marks ../test.fossil \
  | git fast-import --export-marks=../git.marks
git co trunk
date >> z
git ci -am c2
git fast-export --import-marks=../git.marks --export-marks=../git.marks \
  | fossil import --git --incremental                                   \
  --import-marks ../fossil.marks --export-marks ../fossil.marks         \
  ../test.fossil

f time -R ../test.fossil
=== 2016-10-08 ===
09:50:24 [928031189b] c1 (user: juef tags: trunk)
09:49:45 [f9f6644267] initial empty check-in (user: juef tags: trunk)
+++ no more data (2) +++

git --no-pager log --pretty=format:"%aD %s%n"
Sat, 8 Oct 2016 12:52:27 +0300 c2
Sat, 8 Oct 2016 09:50:24 +0000 c1
Sat, 8 Oct 2016 09:49:45 +0000 initial empty check-in


BTW, here https://www.fossil-scm.org/index.html/artifact/c79d278db1119360
is missing "../repo.fossil" at the end of `git fast-export ...`

and nick.lloyd-git-interop version cannot export to git,
if checkin has a few tags:
fatal: mark :7 not declared
fast-import: dumping crash report to .git/fast_import_crash_1012
Unpacking objects: 100% (5/5), done.


Thanks.


-- 
I am not a native English speaker,
so feel free to correct any spelling or grammatical errors!

Attachment: signature.asc
Description: PGP signature

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to