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

Re: bzr to git syncing

From
ABAlex Bennee <kernel-hacker@bennee.com>
Date
Aug 28, 2009, 17:47 UTC
Message-ID
<b2cdc9f30908281047p76c12029u21b100ae6d88fe93@mail.gmail.com>
In-Reply-To
<fabb9a1e0908280919o412baeb1ka69968a93297ca59@mail.gmail.com>
2009/8/28 Sverre Rabbelier <srabbelier@gmail.com>:
Show 10 quoted lines
> Heya,
>
> On Fri, Aug 28, 2009 at 09:02, Alex Bennee<kernel-hacker@bennee.com> wrote:
>> I've attached the fast-import crash I'm seeing. Are you seeing the
>> same sort of failure?
>
> The program you used to generate the stream (I assume git-bzr?) is
> generating an invalid mode, git understands '100644', '100755',
> '120000', and '160000'; the mode in the stream, '040000', is not
> something we understand.

Yeah, it seems in bzr land it mean new directory which we don't care about. The following patch makes it work. Apologies for failure to inline but Gmail would just corrupt it if I tried.

I also had to patch the ref check code to accept bzr style branch names but I suspect that patch should be kept out of the repo.

-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk
Previous: Sverre RabbelierNext: Sverre Rabbelier
Message 4 of 6 in “bzr to git syncing”
  1. David ReitterJun 29, 2009
  2. Alex BenneeAug 28, 2009
  3. Sverre RabbelierAug 28, 2009
  4. Alex BenneeAug 28, 2009
  5. Sverre RabbelierAug 28, 2009
  6. Ian ClatworthyAug 31, 2009

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.