ghosts in fast-import stream format (was: [fastimport/MERGE] Train fixes)

James Westby jw+debian at jameswestby.net
Wed Mar 12 00:56:56 GMT 2008


On Wed, 2008-03-12 at 00:22 +0000, James Westby wrote:
> Generating the id would be a little problematic for us, as it
> is part of the git format, but it is certainly possible. Should
> we make it compulsory? Another solution would be for git to drop
> the parent if it is a ghost with no id. This would break the
> history representation and the round trip, but it would at least
> allow you to get a working git repo.

Ah, stupid me. bzr cannot generate the id for the ghost, as we don't
have the necessary information. That is why it's a ghost in the first
place.

Perhaps we should just never generate the ghosts in the output.

Thanks,

James





More information about the bazaar mailing list