Avoid ghost revisions importing from SVN

Asked by Federico Bett

Hi,

In our team we are in the process of migrating from SVN to Bazaar, and we imported the whole svn repository with svn-import. The problem that we are facing now is that we got some ghost revisions on the imported repository (because there were some commits done on the svn repository using bzr). There is a way to avoid those ghost revision importing the repository??? I know that bazaar should be able to work around those ghost revisions but I'm getting crashes when I try to blame some files and it is really annoying.

Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Subversion Plugin Edit question
Assignee:
No assignee Edit question
Solved by:
Federico Bett
Solved:
Last query:
Last reply:
Revision history for this message
Jelmer Vernooij (jelmer) said :
#1

This isn't really possible. The only thing I can think of is to fastexport your repository, edit the stream and then re-import it. Doing this would have the consequence that you can no longer interact with the Subversion repository.

What is the bug you're hitting with ghost revisions exactly? It seems like we should perhaps increase the importance on that rather than trying to find ways to work around it.

Revision history for this message
Federico Bett (gfbett) said :
#2

Thanks for the answer. I had some crashes on some diffs (I fixed that updating to the latest version of qbzr) and bazaar crashes if I try to annotate some files

Revision history for this message
Jelmer Vernooij (jelmer) said :
#3

On Sat, 2010-04-03 at 01:16 +0000, Federico Bett wrote:
> Question #106282 on Bazaar Subversion Plugin changed:
> https://answers.edge.launchpad.net/bzr-svn/+question/106282
>
> Status: Answered => Solved
>
> Federico Bett confirmed that the question is solved:
> Thanks for the answer. I had some crashes on some diffs (I fixed that
> updating to the latest version of qbzr) and bazaar crashes if I try to
> annotate some files
Can you please file bugs about the annotate crashes or point out what
bug reports are related to that?

Cheers,

Jelmer

Revision history for this message
Federico Bett (gfbett) said :
#4

Hi,

I'm getting the error described in this bug:

https://bugs.launchpad.net/bzr/+bug/393905

Thanks

Federico