Emacs Fastimport Issues

Jason Earl jearl at notengoamigos.org
Tue Nov 3 15:20:23 GMT 2009


Max Bowsher <maxb at f2s.com> writes:

> Jason Earl wrote:
>> I have some problems with the fastimport of the Emacs git repository
>> that I could really use some help resolving.
>> 
>> The problems stem from my desire to sort out some of the issues
>> outlined in this document:
>> 
>> http://www.red-bean.com/kfogel/emacs-bzr-switchover/sanity-checks.txt
>> 
>> In particular I have been working on:
>> 
>> * Check that all tags are present.  [FAIL?]
>> 
>> As the document points out it appears that some tags go missing in
>> the conversion.  What's more, I can resurrect these tags by using an
>> older bit of head tracking logic.  Here's a branch with logic that
>> gets the missing tags:
>> 
>> lp:~jearl/bzr-fastimport/missing_tags
>> 
>> With this code I get a whole pile of branches with names like
>> amigados-merge.tag that contain the missing tags.
>> 
>> Unfortunately, this branch doesn't pass all of the fastimport tests,
>> and so there is probably something very badly wrong with it.  I would
>> continue my investigation to see what needs to be done, but I am
>> becoming a bottleneck for the Emacs bzr switchover, and I simply
>> don't have enough familiarity with bzr to figure this out in a timely
>> manner.
>> 
>> So I am asking for some help.
>
> Which version of bzr-fastimport was used? I helped fix one tag lossage
> bug in r248.

Revision 259 on lp:bzr-fastimport

> What was used to generate the fastimport stream? cvs2bzr? If so I've
> been hacking on that lately and have some fixes/changes that I'd love
> to discuss with someone else doing a to-bzr conversion.

The fastimport stream is generated out of a git repository that you can
find at:

git://repo.or.cz/emacs

The emacs git repository is generated from cvsps with a bunch of custom
manipulation to mark merges and such.

> If I were to take it into my head to try running a test conversion of
> emacs myself, just how much time would it take, and where would I get
> the source repository snapshot?

A conversion would probably take less than 8 hours.  I've stopped timing
them now that they don't take over 24 hours.

Jason



More information about the bazaar mailing list