git-remote-bzr: cannot clone the mailman 3 repository

Bug #1051546 reported by Paul Wise (Debian)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
New
Undecided
Unassigned
bzr-git (Debian)
New
Undecided
Unassigned
bzr-git (Ubuntu)
New
Undecided
Unassigned

Bug Description

Package: bzr-git
Version: 0.6.9-1
Severity: normal
File: /usr/bin/git-remote-bzr

pabs@chianamo ~/tmp $ git clone bzr::http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/ mailman
Cloning into 'mailman'...
Traceback (most recent call last): map 6547/7119
  File "/usr/bin/git-remote-bzr", line 49, in <module>
    helper.process(sys.stdin, sys.stdout)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/git_remote_helper.py", line 171, in process
    self.process_line(l, outf)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/git_remote_helper.py", line 187, in process_line
    self.commands[argv[0]](self, outf, argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/git_remote_helper.py", line 120, in cmd_list
    for ref, git_sha1 in refs.as_dict().iteritems():
  File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 202, in as_dict
    ret[key] = self[("%s/%s" % (base, key)).strip("/")]
  File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 273, in __getitem__
    _, sha = self._follow(name)
  File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 255, in _follow
    contents = self.read_ref(refname)
  File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 231, in read_ref
    contents = self.read_loose_ref(refname)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/refs.py", line 136, in read_loose_ref
    return self.object_store._lookup_revision_sha1(revid)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/object_store.py", line 580, in _lookup_revision_sha1
    self._update_sha_map(revid)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/object_store.py", line 384, in _update_sha_map
    self._update_sha_map_revision(revid)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/object_store.py", line 484, in _update_sha_map_revision
    for path, obj, ie in self._revision_to_objects(rev, tree, lossy=(not self.mapping.roundtripping)):
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/object_store.py", line 438, in _revision_to_objects
    self._cache.idmap, unusual_modes, self.mapping.BZR_DUMMY_FILE):
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/object_store.py", line 296, in _tree_to_objects
    assert tree.kind(file_id) == 'directory'
  File "/usr/lib/python2.7/dist-packages/bzrlib/revisiontree.py", line 173, in kind
    return inv[inv_file_id].kind
  File "/usr/lib/python2.7/dist-packages/bzrlib/inventory.py", line 1868, in __getitem__
    raise errors.NoSuchId(self, file_id)
bzrlib.errors.NoSuchId: The file id "None" is not present in the tree <bzrlib.inventory.CHKInventory object at 0x7f773632ff10>.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bzr-git depends on:
ii bzr 2.6.0~bzr6526-1
ii python 2.7.3~rc2-1
ii python-dulwich 0.8.5-2
ii python2.6 2.6.8-0.2
ii python2.7 2.7.3-4

Versions of packages bzr-git recommends:
pn python-tdb <none>

Versions of packages bzr-git suggests:
pn bzr-fastimport <none>

 affects bzr-git
 affects ubuntu/bzr-git
 affects debian/bzr-git
 subscribe

--
bye,
pabs

http://wiki.debian.org/PaulWise

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Hi Paul,

Thanks for the bug report. Please note that the state of upstream bzr-git is roughly the same as that of the Debian package.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.