Package: bzr-git Version: 0.5.2-1 Severity: normal Bazaar is failing to perform ‘bzr diff’ and other content-inspecting operations on a Git repository. Here is an example session:
===== $ git clone git://gitorious.org/be/be be.upstream/ Cloning into be.upstream... remote: Counting objects: 11296, done. remote: Compressing objects: 100% (4243/4243), done. remote: Total 11296 (delta 7219), reused 10426 (delta 6562) Receiving objects: 100% (11296/11296), 6.42 MiB | 265 KiB/s, done. Resolving deltas: 100% (7219/7219), done. $ bzr info be.upstream/ Standalone tree (format: git) Location: branch root: be.upstream $ bzr branch be.upstream/ be.devel/ Branched 397 revision(s). $ bzr info be.devel/ Repository tree (format: 2a) Location: shared repository: . repository branch: be.devel Related branches: parent branch: be.upstream $ cd be.devel/ $ echo "foo" >> README $ bzr diff === modified file 'README' bzr: ERROR: Revision {('README', 'git-v1:0d9ec7c727ff624ee1905831e806cab8c9e65537')} not present in "CHKInventoryRepository('file:///home/bignose/Projects/bugs-everywhere/.bzr/repository/')". ===== The corresponding log entries are: ===== Wed 2011-02-23 16:38:50 +1100 0.046 bazaar version: 2.1.2 0.046 bzr arguments: [u'diff'] 0.068 looking for plugins in /home/bignose/.bazaar/plugins 0.069 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins 0.269 encoding stdout as sys.stdout encoding 'UTF-8' 0.318 opening working tree '/home/bignose/Projects/bugs-everywhere/be.devel' 0.596 Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1055, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661, in run_argv_aliases return self.run_direct(**all_cmd_args) File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665, in run_direct return self._operation.run_simple(*args, **kwargs) File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple self.cleanups, self.func, *args, **kwargs) File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups result = func(*args, **kwargs) File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1070, in ignore_pipe result = func(*args, **kwargs) File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1955, in run extra_trees=extra_trees, using=using) File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 444, in show_diff_trees return differ.show_diff(specific_files, extra_trees) File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 889, in show_diff return self._show_diff(specific_files, extra_trees) File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 949, in _show_diff self._diff(file_id, oldpath, newpath, kind[0], kind[1]) File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 975, in _diff new_path, old_kind, new_kind) File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 506, in _diff_many new_kind) File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 644, in diff old_path, new_path) File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 664, in diff_text from_text = _get_text(self.old_tree, from_file_id, from_path) File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 660, in _get_text return tree.get_file(file_id, path).readlines() File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 1773, in get_file return StringIO(self.get_file_text(file_id)) File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 1780, in get_file_text _, content = list(self.iter_files_bytes([(file_id, None)]))[0] File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 2201, in iter_files_bytes raise errors.RevisionNotPresent(record.key, self) RevisionNotPresent: Revision {('README', 'git-v1:0d9ec7c727ff624ee1905831e806cab8c9e65537')} not present in "CHKInventoryRepository('file:///home/bignose/Projects/bugs-everywhere/.bzr/repository/')". 0.597 Transferred: 0KiB (0.0K/s r:0K w:0K) 0.597 return code 3 ===== -- System Information: Debian Release: 6.0 APT prefers stable APT policy: (900, 'stable') Architecture: powerpc (ppc64) Kernel: Linux 2.6.32-5-powerpc64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.utf8) Shell: /bin/sh linked to /bin/dash Versions of packages bzr-git depends on: ii bzr 2.1.2-1 easy to use distributed version co ii python 2.6.6-3+squeeze5 interactive high-level object-orie ii python-central 0.6.16+nmu1 register and build utility for Pyt ii python-dulwich 0.6.1-1 Pure-python Git library Versions of packages bzr-git recommends: ii python-tdb 1.2.1-2+b1 Python bindings for TDB bzr-git suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org