git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How to import bzr repository into git

From
Gabriel Filion <lelutin@gmail.com>
Date
Nov 19, 2010, 21:34 UTC
Message-ID
<4CE6ED53.7060900@gmail.com>
In-Reply-To
<20101118163851.GB16610@burratino>
On 11/18/2010 11:38 AM, Jonathan Nieder wrote:
Show 16 quoted lines
> Jonathan Nieder wrote:
>> Ævar Arnfjörð Bjarmason wrote:
>>> On Thu, Nov 18, 2010 at 15:34, Dmitri Pissarenko
>>> <dmitri.pissarenko@gmail.com> wrote:
> 
>>>> However, I had to give up this idea due to an "out of memory" error
>>>> during bzr-export.
>>>
>>> Buy more memory or use more swap?
>>
>> Or report it as a bug/wanted feature?
>>
>> Cc-ing Jelmer Vernooij in the hope that he might be able to point
>> to the right person for that.
> 
> This time with a valid email address (sorry for the noise).
right! I did see this with this particular workflow:

bzr branch lp:bzr git init bzr.git cd bzr.git bzr fast-export ../bzr | git fast-import

the weird thing is that using fastimport directly with the lp:bzr address (not "logged in" to launchpad, so in practice via HTTP) instead of a local copy of the directory took a very long time but worked.

So I guess there's probably a memory leak when using local files.

other than bzr-fastimport, there is also bzr-git, which seems to support some form of pushing (bzr dpush).

There are also mentions, in different discussions, of tailor:
http://wiki.darcs.net/RelatedSoftware/Tailor
And finally, the git wiki mentions BzrToGit
https://git.wiki.kernel.org/index.php/Interfaces,_frontends,_and_tools#BzrToGit

However, I have not thoroughly tested these tools and I have yet to find something that works right in all cases. If you give these tools a try, I'd be glad to hear about your experience with them.

-- 
Gabriel Filion
Previous: Jonathan Nieder
Message 8 of 8 in “How to import bzr repository into git”
  1. Dmitri PissarenkoNov 16, 2010
  2. Ævar Arnfjörð BjarmasonNov 16, 2010
  3. Gabriel FilionNov 17, 2010
  4. Dmitri PissarenkoNov 18, 2010
  5. Ævar Arnfjörð BjarmasonNov 18, 2010
  6. Jonathan NiederNov 18, 2010
  7. Jonathan NiederNov 18, 2010
  8. Gabriel FilionNov 19, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.