Fossil SCM

git fast-import fails to import the fossil export result for mongrel2 repo

Fixed

536c3399075d06a… · opened 15 years, 3 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Fixed
Subsystem
Created
Dec. 18, 2010 10:59 p.m.

Trying out the fossil export to git, git complains about the format, running this shell script allows to reproduce the problem:

--- cut here ---
#!/bin/sh
PATH=`pwd`:$PATH
fossil version
git --version
fossil clone http://mongrel2.org:44445 mongrel2.fossil
rm -rf mongrel2-git
mkdir mongrel2-git
cd mongrel2-git
git init
fossil export --git ../mongrel2.fossil | git fast-import
--- end cut here ---

outputs on my end:

dalien@ayourtch:~/tmp$ ./runme
This is fossil version [0018d724b3] 2010-12-07 13:31:37 UTC
git version 1.7.0.4
                Bytes      Cards  Artifacts     Deltas
Sent:              53          1          0          0
Received:      224521       4880          0          0
Sent:           10048        226          0          0
Received:      472854        294         34        166
Sent:           18853        415          0          0
Received:      228964        480         23        377
Sent:           37653        801          0          0
Received:      507401        880        149        651
Sent:           75253       1601          0          0
Received:     2407750       1680        548       1052
Sent:           88366       1880          0          0
Received:     3616447       1959        584       1295
Sent:              53          1          0          0
Received:      224521       4880          0          0
Total network traffic: 123013 bytes sent, 2461523 bytes received
Rebuilding repository meta-data...
  100.0% complete...
project-id: 1bfa0026ac3ef7aeb5eae4e49018abf54bc189b3
server-id:  fa5c71a1e27c7ca57bd6061434f9f82b87df3fd8
admin-user: dalien (password is "xxxxxx")
Initialized empty Git repository in /home/dalien/tmp/mongrel2-git/.git/
fatal: Not a blob (actually a commit): M 100644 :27 src/manifest
fast-import: dumping crash report to .git/fast_import_crash_24011
dalien@ayourtch:~/tmp$ 

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button