Help with bzr-git

Jelmer Vernooij jelmer at samba.org
Wed Mar 31 22:33:09 BST 2010


On Wed, 2010-03-31 at 14:05 -0700, Eric Berry wrote:
> Hi Jelmer, Where is it fixed? I used bzr branch lp:bzr-git to install
> the plugin.
It's fixed in lp:bzr-git (the problem has also only existed in
lp:bzr-git and not in any releases, AFAICT).

Cheers,

Jelmer
> 
> 
> On Wed, Mar 31, 2010 at 12:52 PM, Jelmer Vernooij <jelmer at samba.org>
> wrote:
>         
>         On Wed, 2010-03-31 at 10:40 -0700, Eric Berry wrote:
>         > Hello,
>         >    I'm trying to branch off of a git repository at GitHub,
>         but I'm
>         > getting an exception.
>         > [quote]
>         > [535] bzr branch git://github.com/eHarmony/jSelected.git
>         jSelected
>         > bzr: ERROR: exceptions.KeyError:
>         > '40825 at bb5c14d6-0f0e-0410-b6e6-ef5a72c3f3ed:genesis%2Ftrunk%
>         > 2Feh20'
>         >
>         > Traceback (most recent call last):
>         >   File
>         "/Library/Python/2.6/site-packages/bzrlib/commands.py", line
>         > 853, in exception_to_return_code
>         >     return the_callable(*args, **kwargs)
>         >   File
>         "/Library/Python/2.6/site-packages/bzrlib/commands.py", line
>         > 1055, in run_bzr
>         >     ret = run(*run_argv)
>         >   File
>         "/Library/Python/2.6/site-packages/bzrlib/commands.py", line
>         > 661, in run_argv_aliases
>         >     return self.run_direct(**all_cmd_args)
>         >   File
>         "/Library/Python/2.6/site-packages/bzrlib/commands.py", line
>         > 665, in run_direct
>         >     return self._operation.run_simple(*args, **kwargs)
>         >   File
>         "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line
>         > 122, in run_simple
>         >     self.cleanups, self.func, *args, **kwargs)
>         >   File
>         "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line
>         > 156, in _do_with_cleanups
>         >     result = func(*args, **kwargs)
>         >   File
>         "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line
>         > 1232, in run
>         >     source_branch=br_from)
>         >   File "/Library/Python/2.6/site-packages/bzrlib/bzrdir.py",
>         line
>         > 1182, in sprout
>         >     result_repo.fetch(source_repository,
>         revision_id=revision_id)
>         >   File
>         "/Library/Python/2.6/site-packages/bzrlib/repository.py", line
>         > 1704, in fetch
>         >     find_ghosts=find_ghosts, fetch_spec=fetch_spec)
>         >   File "/Users/eberry/.bazaar/plugins/git/fetch.py", line
>         436, in
>         > fetch
>         >     find_ghosts=find_ghosts, mapping=mapping,
>         fetch_spec=fetch_spec)
>         >   File "/Users/eberry/.bazaar/plugins/git/fetch.py", line
>         461, in
>         > fetch_refs
>         >     (pack_hint, _) = self.fetch_objects(determine_wants,
>         mapping, pb)
>         >   File "/Users/eberry/.bazaar/plugins/git/fetch.py", line
>         503, in
>         > fetch_objects
>         >     [store._lookup_revision_sha1(head) for head in heads])
>         >   File "/Users/eberry/.bazaar/plugins/git/object_store.py",
>         line 381,
>         > in _lookup_revision_sha1
>         >     self._update_sha_map(revid)
>         >   File "/Users/eberry/.bazaar/plugins/git/object_store.py",
>         line 255,
>         > in _update_sha_map
>         >     self._update_sha_map_revision(revid)
>         >   File "/Users/eberry/.bazaar/plugins/git/object_store.py",
>         line 310,
>         > in _update_sha_map_revision
>         >     for path, obj in self._revision_to_objects(rev, inv):
>         >   File "/Users/eberry/.bazaar/plugins/git/object_store.py",
>         line 287,
>         > in _revision_to_objects
>         >     self.repository.iter_files_bytes, has_ghost_parents):
>         >   File "/Users/eberry/.bazaar/plugins/git/object_store.py",
>         line 172,
>         > in _inventory_to_objects
>         >     ie.file_id)
>         >   File "/Users/eberry/.bazaar/plugins/git/shamap.py", line
>         307, in
>         > lookup_tree
>         >     raise KeyError(fileid)
>         > KeyError:
>         '40825 at bb5c14d6-0f0e-0410-b6e6-ef5a72c3f3ed:genesis%2Ftrunk%
>         > 2Feh20'
>         
>         This was a recent regression in bzr-git trunk. It should be
>         fixed now.
>         If you can still reproduce it, please file a bug.
>         
>         Cheers,
>         
>         Jelmer
> 
> 
> 
> -- 
> Learn from the past. Live in the present. Plan for the future.
> Blog: http://www.townsfolkdesigns.com/blogs/elberry
> jEdit <http://www.jedit.org> - Programmer's Text Editor
> Bazaar <http://bazaar.canonical.com> - Version Control for Humans




More information about the bazaar mailing list