git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* New Bzr to Git migration tool
@ 2009-07-09 16:59 Henrik Nilsson
  0 siblings, 0 replies; 3+ messages in thread
From: Henrik Nilsson @ 2009-07-09 16:59 UTC (permalink / raw)
  To: git

Hi
I recently wrote a Bzr to Git migration tool and thought I'd share it
with anyone who might be interested.
It's written in shell-script and iterates through the Bzr commits
while adding those changes to a new Git repository.
Usage is to run it from within a Bzr repository. BzrToGit can be found
at http://sortedbits.ath.cx/scripts/bzrtogit.sh

Henrik Nilsson

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: New Bzr to Git migration tool
@ 2009-07-09 17:36 David Reitter
  2009-07-09 20:06 ` Henrik Nilsson
  0 siblings, 1 reply; 3+ messages in thread
From: David Reitter @ 2009-07-09 17:36 UTC (permalink / raw)
  To: Henrik Nilsson, git

Henrik Nilsson wrote on git@vger.kernel.org:

> I recently wrote a Bzr to Git migration tool and thought I'd share it
> with anyone who might be interested.
> It's written in shell-script and iterates through the Bzr commits
> while adding those changes to a new Git repository.

This is interesting to me, as my use case will involve extending an  
existing git repository iteratively from the bzr commits.
Looking at the technique, this should be possible that way.

I am missing support for converting all branches of the repository.   
More importantly, don't merges get lost?  All your git side commits  
seem to have a single parent.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: New Bzr to Git migration tool
  2009-07-09 17:36 New Bzr to Git migration tool David Reitter
@ 2009-07-09 20:06 ` Henrik Nilsson
  0 siblings, 0 replies; 3+ messages in thread
From: Henrik Nilsson @ 2009-07-09 20:06 UTC (permalink / raw)
  To: git

2009/7/9 David Reitter <david.reitter@gmail.com>:
> Henrik Nilsson wrote on git@vger.kernel.org:
>
>> I recently wrote a Bzr to Git migration tool and thought I'd share it
>> with anyone who might be interested.
>> It's written in shell-script and iterates through the Bzr commits
>> while adding those changes to a new Git repository.
>
> This is interesting to me, as my use case will involve extending an existing
> git repository iteratively from the bzr commits.
> Looking at the technique, this should be possible that way.
>
> I am missing support for converting all branches of the repository.  More
> importantly, don't merges get lost?  All your git side commits seem to have
> a single parent.
>
>
>

Yes I suppose they do.
The Bzr repository I was working on when I wrote this script has not
been dealing with any branches.

I should have mentioned that I am not looking for feedback to work
further on this, unless I have any need for it myself, but you are
very welcome to build upon it. :)

Henrik Nilsson

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-09 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-09 17:36 New Bzr to Git migration tool David Reitter
2009-07-09 20:06 ` Henrik Nilsson
  -- strict thread matches above, loose matches on Subject: below --
2009-07-09 16:59 Henrik Nilsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).