Hi,

This happens with version 1.35 I just uploaded to Debian :-)

Fast-export to git produces unimportable dump.

| fatal: Unsupported command: def.txt
| fast-import: dumping crash report to .git/fast_import_crash_11901

How to reproduce this bug.
 $ fossil clone https://www.fossil-scm.org/ fossil.fsl
  ...
 $ ls -l fossil.fsl
-rw-r--r-- 1 ***** ***** 37855232 Oct 10 08:50 fossil.fsl
 $ git init fossil
 $ cd fossil
 $ fossil export --git ../fossil.fsl | git fast-import
fatal: Unsupported command: def.txt
fast-import: dumping crash report to .git/fast_import_crash_11901
 $ cd ..
 $ fossil export --git fossil.fsl >fossil.export
 $ vim fossil.export

(Slow to start but I see following by searching "/def\.txt" at 99% point)

commit refs/heads/test_ticket_d17d6e5b17
mark :37455
committer jan.nijtmans <jan.nijtmans> 1353531216 +0000
data 82
Just commit some weird filenames, even one with a newline in it, to test the 
code.
from :37577
M 100644 :1050 :abc
M 100644 :37588 abc
def.txt
M 100644 :1050 str"i"ng.h
M 100644 :1050 str[ing.txt
M 100644 :1050 xyz<5.x

This problem can be worked around by removing offending line with vim with
minor issue:

error: Multiple updates for ref 'refs/tags/json_add_tag_test' not allowed.

Regards

Osamu

PS: This is reported as https://bugs.debian.org/840251

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to