Package: fossil Version: 1:1.35-1.1 Severity: normal The #693570 should have been fixed in upstream but there seems to exist another bug.
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 Looks like fossil bug. :-) So I couldn't export to git repo with the newer fossil. By removing def.txt line with vim, this seems to be worked around and nicely imported. I tried as follows: $ rm -rf fossil $ git init fossil $ cd fossil $ git fast-import <../fossil.export error: Multiple updates for ref 'refs/tags/json_add_tag_test' not allowed. git-fast-import statistics: --------------------------------------------------------------------- Alloc'd objects: 55000 Total objects: 50520 ( 2996 duplicates ) blobs : 19491 ( 0 duplicates 15079 deltas of 18632 attempts) trees : 21041 ( 2996 duplicates 18791 deltas of 19186 attempts) commits: 9915 ( 0 duplicates 0 deltas of 0 attempts) tags : 73 ( 0 duplicates 0 deltas of 0 attempts) Total branches: 556 ( 982 loads ) marks: 1048576 ( 29406 unique ) atoms: 935 Memory total: 4813 KiB pools: 2235 KiB objects: 2578 KiB --------------------------------------------------------------------- pack_report: getpagesize() = 4096 pack_report: core.packedGitWindowSize = 1073741824 pack_report: core.packedGitLimit = 8589934592 pack_report: pack_used_ctr = 6619 pack_report: pack_mmap_calls = 1726 pack_report: pack_open_windows = 1 / 1 pack_report: pack_mapped = 115842226 / 115842226 --------------------------------------------------------------------- $ git checkout trunk (voila! I have imported tree) So manually editing export produces a good enough data to be imported to git with branch name preserved. The main one is "trunk". But it's not perfect one for refs/tags/json_add_tag_test So at least one minor bug needs to be addressed. What is the best way to report this to upstream? Osamu ===================== Side story: I could import from fossil repo to a debian packaging repo made by: $ gbp import-dscs --debsnap --pristine-tar fossil $ cd fossil $ git fast-import <../fossil.export With --import-mark and --export-mark, we may be able to make synced upstream trunk and debian package repo. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing'), (98, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages fossil depends on: ii libc6 2.23-5 ii libfuse2 2.9.7-1 ii libsqlite3-0 3.14.2-1 ii libssl1.0.2 1.0.2h-1 ii libtcl8.6 [libtcl] 8.6.6+dfsg-1 ii zlib1g 1:1.2.8.dfsg-2+b1 fossil recommends no packages. Versions of packages fossil suggests: ii gnupg 1.4.20-6 ii gnupg2 2.1.11-7 -- no debconf information