Svyatoslav Mishyn writes:

> Hello,
>
> it looks that incremental git import doesn't work:
*snip*
> 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
You'll need to specify which revisions to export as part of the git
command.  See git-fast-export(1), specifically:
  [<git-rev-list-args>...]
      A list of arguments, acceptable to git rev-parse and git rev-list,
      that specifies the specific objects and references to export. For
      example, master~10..master causes the current master reference to
      be exported along with all objects added since its 10th ancestor
      commit.
In this case `trunk' would do the trick, or `--all'.

I see that this is missing from
c79d278db1119360497f6fb4b2f62de94ed38135.  Thanks for catching that!
I'll go ahead and update it with this information.

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

> 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.
Is this behavior new to this branch?  I haven't actually looked much at
how tags are handled.  I'll see if I can reproduce this and create a fix.

Thanks for the feedback.

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

Reply via email to