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

[PATCH v2 0/5] New remote-bzr remote helper

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Nov 5, 2012, 15:56 UTC
Message-ID
<1352130980-3998-1-git-send-email-felipe.contreras@gmail.com>
Hi,
I decided to get rid of bzr-fastimport; too much complexity for not really that much of a gain.
The only feature I know is missing is support for executable modes and links.

I haven't verified that the resulting output is exactly the same as with other tools, so be careful while using this.

Also, for the moment I'm not making a distinction betwen local and remote repositories; they all get a local clone.

Pushing is significantly slower than with bzr-fastimport, but they are using too many hacks on top of bzrlib, one that has left it broken it for years for many people, and nobody has bothered to fix it, I had to find it the hard way and disable the hack. I think the hit in perfromance is completely OK given that we are using a more conventional bzrlib API, and going to be less likely to be broken in the future.

Cheers.
Changes sinve v1:
 * Rewritten to avoid bzr-fastimport
Felipe Contreras (5):
  Add new remote-bzr transport helper
  remote-bzr: add simple tests
  remote-bzr: add support for pushing
  remote-bzr: add support for remote repositories
  remote-bzr: update working tree
 contrib/remote-helpers/git-remote-bzr | 672 ++++++++++++++++++++++++++++++++++
 contrib/remote-helpers/test-bzr.sh    | 111 ++++++
 2 files changed, 783 insertions(+)
 create mode 100755 contrib/remote-helpers/git-remote-bzr
 create mode 100755 contrib/remote-helpers/test-bzr.sh
-- 
1.8.0
Next: Felipe Contreras
Message 1 of 6 in “New remote-bzr remote helper”
  1. 0/5 New remote-bzr remote helperFelipe Contreras, Nov 5, 2012
  2. 1/5 Add new remote-bzr transport helperFelipe Contreras, Nov 5, 2012
  3. 2/5 remote-bzr: add simple testsFelipe Contreras, Nov 5, 2012
  4. 3/5 remote-bzr: add support for pushingFelipe Contreras, Nov 5, 2012
  5. 4/5 remote-bzr: add support for remote repositoriesFelipe Contreras, Nov 5, 2012
  6. 5/5 remote-bzr: update working treeFelipe Contreras, Nov 5, 2012

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.