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

Re: RFD: git-bzr: anyone interested?

From
Gabriel Filion <lelutin@gmail.com>
Date
Aug 7, 2010, 08:48 UTC
Message-ID
<4C5D1DC2.6000704@gmail.com>
In-Reply-To
<8762znjdr0.fsf@catnip.gol.com>
(restoring CC list. it is customary on the git list to reply-all)
On 2010-08-06 23:36, Miles Bader wrote:
Show 9 quoted lines
> Conrad Parker <conrad@metadecks.org> writes:
>> Anyone interested in git-bzr might also want to look at some recent
>> rewrites; from the current git-bzr README:
>>
>> The following are rewrites in Python and may offer better bzr integration:
>>   * http://github.com/termie/git-bzr-ng
>>   * http://github.com/matthew-brett/git-bzr
>>
>> (... and I'd also be interested to know how well either of these work :)

I've found some time to begin implementing a remote-helper[1] this week. Plugging in a call to "bzr fast-export" made cloning a repository with "git clone bzr::url" and pulling new revisions in with "git pull" work with minimum effort.

[1]:http://github.com/lelutin/git-remote-bzr

However, as reported in this bug[2], the fast-import path to push commits back to bzr is broken in the bzr plugin. Once we get this working, we should be able to round-trip.

[2]:https://bugs.launchpad.net/bzr-fastimport/+bug/347729

Doing "git pull" currently exports all history from the Bazaar branch to incorporate the needed commits in the git repo. This is really suboptimal, but I thought having something that works before making it work right would help me get some insights on the remote-helper's code.

The very cool thing about making this into a remote-helper instead of a git command in itself, is that we won't have to redisign (and possibly re-implement) the command line interface, since git will be calling the remote-helper with the right commands at the appropriate time.

-- 
Gabriel Filion
Previous: Miles BaderNext: Miles Bader
Message 25 of 30 in “RFD: git-bzr: anyone interested?”
  1. Gabriel FilionFeb 18, 2010
  2. Sverre RabbelierFeb 18, 2010
  3. Gabriel FilionFeb 19, 2010
  4. Sverre RabbelierFeb 19, 2010
  5. GabrielFeb 19, 2010
  6. Sverre RabbelierFeb 19, 2010
  7. Writing git remote helpersGabriel, Feb 19, 2010
  8. Gabriel FilionFeb 22, 2010
  9. Ilari LiusvaaraFeb 19, 2010
  10. Gabriel FilionFeb 22, 2010
  11. Ilari LiusvaaraFeb 22, 2010
  12. Gabriel FilionFeb 23, 2010
  13. Ilari LiusvaaraFeb 23, 2010
  14. Chris PackhamApr 26, 2010
  15. Dmitrijs LedkovsApr 26, 2010
  16. Chris PackhamApr 27, 2010
  17. Miles BaderApr 27, 2010
  18. Gabriel FilionApr 27, 2010
  19. Dmitrijs LedkovsApr 27, 2010
  20. Chris PackhamApr 27, 2010
  21. Chris PackhamApr 27, 2010
  22. Dmitrijs LedkovsApr 27, 2010
  23. Conrad ParkerAug 6, 2010
  24. Miles BaderAug 7, 2010
  25. Gabriel FilionAug 7, 2010
  26. Miles BaderAug 7, 2010
  27. git-archimport (was: Re: RFD: git-bzr: anyone interested?)Jakub Narebski, Aug 7, 2010
  28. Matthieu MoyAug 7, 2010
  29. Felipe ContrerasFeb 20, 2010
  30. Gabriel FilionFeb 22, 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.