Comment 3 for bug 577110

Revision history for this message
Max Bowsher (maxb) wrote :

It is still broken:

bzr git-import git://git.debian.org/collab-maint/tortoisehg.git
cd tortoisehg.git
bzr branch lp:~maxb/tortoisehg/ppa
rm -r .bzr/repository/git
cd HEAD
bzr pull git://git.debian.org/collab-maint/tortoisehg.git

bzr: ERROR: exceptions.KeyError: 'No such TDB entry'
   File "/home/maxb/wc/bzr/bzr/2.1/bzrlib/branch.py", line 962, in pull
     possible_transports=possible_transports, *args, **kwargs)
   File "/home/maxb/.bazaar/plugins/git/branch.py", line 510, in pull
     stop_revision, overwrite=overwrite, graph=graph, limit=limit)
   File "/home/maxb/.bazaar/plugins/git/branch.py", line 459, in _update_revisions
     determine_wants, self.source.mapping, limit=limit)
   File "/home/maxb/.bazaar/plugins/git/fetch.py", line 525, in fetch_objects
     [store._lookup_revision_sha1(head) for head in heads])
   File "/home/maxb/.bazaar/plugins/git/object_store.py", line 487, in _lookup_revision_sha1
     return self._cache.idmap.lookup_commit(revid)
   File "/home/maxb/.bazaar/plugins/git/shamap.py", line 530, in lookup_commit
     return sha_to_hex(self.db["commit\0" + revid][:20])
 KeyError: 'No such TDB entry'