Repository problems after bzr svn-import, ghost revisions

John Szakmeister john at szakmeister.net
Wed Jan 20 12:56:18 GMT 2010


On Wed, Jan 20, 2010 at 7:06 AM, Alexander Belchenko <bialix at ukr.net> wrote:
> Jelmer Vernooij пишет:
>>
>> On Wed, 2010-01-20 at 11:08 +0100, Anteru wrote:
>>>
>>> The problem we're facing now is that we have 20 ghost revisions in the
>>> repository (due to the merges), which break diff for us. The merges
>>> typically merged only one revision (except for 1 or 2 merges which merged
>>> 2.) Ideally, we'd like to change a merge to be a single, simple commit, that
>>> is, instead of the current mess. I just run a bzr check -v, which lists the
>>> ids of the ghost revisions, and indeed, they are all pointing at such
>>> merges.
>>
>> Just curious, but why would you want to avoid ghost revisions? They're
>> harmless. You shouldn't notice they're there.
>
> You're missing recent thread by John Szakmeister about problems with ghost
> revisions: diff and annotate does not work with them.

And, 'bzr check' reports errors (the inconsistent parent issue).  That
may not keep the branch from working correctly, but it's certainly
disturbing from a user and admin perspective. :-(

-John



More information about the bazaar mailing list