On Tue, Mar 08, 2011 at 05:15:50AM +0100, Joerg Sonnenberger wrote:
> Hi all,
> can someone try to reproduce the following issue?
> 
> mkdir test
> fossil export <path-to-copy-of-fossil-repo> > fossil.txt
> git init
> git fast-import --export-marks=marks.txt < fossil.txt
> while read num hash; do [ $((${num#:} % 2)) -eq 0 ] && echo $hash >> 
> commits.txt; done < marks.txt 

OK, this part doesn't work with the unpatched version, so you have to
find the first mark for a commit and count that manually. Problem
remains though.

Joerg

> sort -u commits.txt > commits.txt.s
> git log --all | grep '^commit ' | awk '{ print $2 }' | sort > imported.txt.s
> 
> wc -l commits.txt.s imported.txt.s
> grep '^commit refs/heads/' fossil.txt | wc -l
> 
> I see:
> (1) 25 additional commits in the export and the mark file (compared to
> the git repo)
> (2) One more commit in the git repo than the original fossil tree.
> (3) A bunch of commits e.g. on the bunito branch that are plainly
> missing.
> 
> Joerg
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
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