git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Bennee <kernel-hacker@bennee.com>
To: Pieter de Bie <pieter@frim.nl>
Cc: git@vger.kernel.org
Subject: Re: What is the current best bi-directional git<->bzr method?
Date: Tue, 19 May 2009 21:31:44 +0100	[thread overview]
Message-ID: <b2cdc9f30905191331t73795005haad00c7840e9e2a1@mail.gmail.com> (raw)
In-Reply-To: <03D68F82-503F-47D1-BF65-9D255E16EE00@frim.nl>

2009/5/19 Pieter de Bie <pieter@frim.nl>:
> Hi,
>
> On May 19, 2009, at 3:08 PM, Alex Bennee wrote:
>>
>> I found a script[1] which I have hacked a bit[2] to import repo's
>> fine. However going the other way doesn't seem to work. Before I mess
>> around too much further I though I'd check if there are any known
>> working gateways at the moment?
>
> Bidirectional syncing should work, though I've heard there
> may be some problems with multiple branches. I had a discussion
> with someone about the used mapping, and they hacked up something
> in bash, though I've never looked at it. I've lost interest in
> git<->bzr syncing (and bzr in general) some time ago, so I never
> looked at it further. What specific problem do you have?

Erm it spat out a bunch of python errors which didn't make much sense
and I was hoping to avoid digging into:

21:28 alex@danny/x86_64 [gwibber.git] >git bzr push test
bzr: ERROR: exceptions.KeyError: ':465'

Traceback (most recent call last):
  File "//usr/lib64/python2.5/site-packages/bzrlib/commands.py", line
727, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "//usr/lib64/python2.5/site-packages/bzrlib/commands.py", line
922, in run_bzr
    ret = run(*run_argv)
  File "//usr/lib64/python2.5/site-packages/bzrlib/commands.py", line
559, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/alex/.bazaar/plugins/fastimport/__init__.py", line 221, in run
    params, verbose)
  File "/home/alex/.bazaar/plugins/fastimport/__init__.py", line 75, in _run
    return proc.process(p.iter_commands)
  File "/home/alex/.bazaar/plugins/fastimport/processor.py", line 92, in process
    self._process(command_iter)
  File "/home/alex/.bazaar/plugins/fastimport/processors/generic_processor.py",
line 269, in _process
    processor.ImportProcessor._process(self, command_iter)
  File "/home/alex/.bazaar/plugins/fastimport/processor.py", line 114,
in _process
    handler(self, cmd)
  File "/home/alex/.bazaar/plugins/fastimport/processors/generic_processor.py",
line 459, in commit_handler
    handler.process()
  File "/home/alex/.bazaar/plugins/fastimport/processor.py", line 193,
in process
    self.pre_process_files()
  File "/home/alex/.bazaar/plugins/fastimport/bzr_commit_handler.py",
line 517, in pre_process_files
    super(InventoryDeltaCommitHandler, self).pre_process_files()
  File "/home/alex/.bazaar/plugins/fastimport/bzr_commit_handler.py",
line 64, in pre_process_files
    for p in parents]
KeyError: ':465'

bzr 1.14.1 on python 2.5.4 (linux2)
arguments: ['/usr/bin/bzr', 'fast-import',
'--import-marks=/home/alex/src/gwibber/gwibber.git/.git/bzr-git/test-bzr-map',
'--export-marks=/home/alex/src/gwibber/gwibber.git/.git/bzr-git/test-bzr-map',
'-']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: 'en_GB'
plugins:
  bzrtools
/usr/lib64/python2.5/site-packages/bzrlib/plugins/bzrtools [1.14]
  fastimport           /home/alex/.bazaar/plugins/fastimport [0.8dev]
  launchpad
/usr/lib64/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  netrc_credential_store
/usr/lib64/python2.5/site-packages/bzrlib/plugins/netrc_credential_store
[unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

*sigh* I suppose it's time to break out those debugging shoes...

-- 
Alex, homepage: http://www.bennee.com/~alex/
CV: http://www.bennee.com/~alex/cv.php

      reply	other threads:[~2009-05-19 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-19 14:08 What is the current best bi-directional git<->bzr method? Alex Bennee
2009-05-19 15:51 ` Pieter de Bie
2009-05-19 20:31   ` Alex Bennee [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b2cdc9f30905191331t73795005haad00c7840e9e2a1@mail.gmail.com \
    --to=kernel-hacker@bennee.com \
    --cc=git@vger.kernel.org \
    --cc=pieter@frim.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).