[Pkg-bazaar-maint] Bug#599936: bzr-svn: AssertionError in bzr diff
Roland Mas
lolando at debian.org
Tue Oct 12 15:39:16 UTC 2010
Package: bzr-svn
Version: 1.0.4+bzr3475-1
Severity: normal
The newest bzr-svn triggers an assertion error during bzr diff on a
branch bound to a remote SVN repository. Here's a log, starting from
bzr-svn 1.0.4-1 (which works fine), then an upgrade, then the error:
roland at mirexpress ~/eyrolles/debian $ bzr info
Lightweight checkout (format: 2a)
Location:
light checkout root: .
checkout of branch: https://svn.ouaza.com/eyrolles/trunk/admin-debian
shared repository: https://svn.ouaza.com/eyrolles/trunk/admin-debian
roland at mirexpress ~/eyrolles/debian $ bzr st
modified:
fr-FR/10_infrastructure.xml
roland at mirexpress ~/eyrolles/debian $ bzr diff
=== modified file 'fr-FR/10_infrastructure.xml't 0/1233
stacking support in bzr-svn is experimental.
--- fr-FR/10_infrastructure.xmlh2010-04-19 15:40:43 +0000
+++ fr-FR/10_infrastructure.xml 2010-10-12 15:31:01 +0000
@@ -2,7 +2,7 @@
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
]>
<!-- Copyright 2004-2009 Raphaël Hertzog -->
-<!-- Copyright 2006-2009 Roland Mas -->
+<!-- Copyright 2006-2010 Roland Mas -->
<!-- $Id$ -->
<chapter id="infrastructure">
@@ -12,7 +12,7 @@
[...]
roland at mirexpress ~/eyrolles/debian $ sudo aptitude install bzr-svn
Les paquets suivants seront mis à jour :
bzr-svn
1 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 2 non mis à jour.
Il est nécessaire de télécharger 0 o/254 ko d'archives. Après dépaquetage, 0 o seront utilisés.
Voulez-vous continuer ? [Y/n/?]
(Lecture de la base de données... 244784 fichiers et répertoires déjà installés.)
Préparation du remplacement de bzr-svn 1.0.4-1 (en utilisant .../bzr-svn_1.0.4+bzr3475-1_all.deb) ...
Dépaquetage de la mise à jour de bzr-svn ...
Paramétrage de bzr-svn (1.0.4+bzr3475-1) ...
Traitement des actions différées (« triggers ») pour « python-central »...
État actuel : 2 mises à jour restantes [-1].
roland at mirexpress ~/eyrolles/debian $ bzr st
modified:
fr-FR/10_infrastructure.xml
roland at mirexpress ~/eyrolles/debian $ bzr diff
=== modified file 'fr-FR/10_infrastructure.xml't 0/1233
stacking support in bzr-svn is experimental.
bzr: ERROR: exceptions.AssertionError: or file ids 0/1215
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 911, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1111, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools/command.py", line 22, in run_argv_aliases
commands.Command.run_argv_aliases(self, argv, alias_argv)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 689, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 704, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools/command_classes.py", line 526, in run
colordiff(color, check_style, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools/colordiff.py", line 203, in colordiff
get_cmd_object('diff').run(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 704, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1126, in ignore_pipe
result = func(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1982, in run
format_cls=format)
File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 493, in show_diff_trees
return differ.show_diff(specific_files, extra_trees)
File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 942, in show_diff
return self._show_diff(specific_files, extra_trees)
File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 1002, in _show_diff
self._diff(file_id, oldpath, newpath, kind[0], kind[1])
File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 1028, in _diff
new_path, old_kind, new_kind)
File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 555, in _diff_many
new_kind)
File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 693, in diff
old_path, new_path)
File "/usr/lib/python2.6/dist-packages/bzrlib/diff.py", line 713, 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 709, in _get_text
return tree.get_file_lines(file_id, path)
File "/usr/lib/python2.6/dist-packages/bzrlib/tree.py", line 306, in get_file_lines
return osutils.split_lines(self.get_file_text(file_id, path))
File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 1793, 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 2215, in iter_files_bytes
for record in self.texts.get_record_stream(text_keys, 'unordered', True):
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/versionedfiles.py", line 83, in get_record_stream
path, revnum, mapping = self._lookup_key(k)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/versionedfiles.py", line 67, in _lookup_key
assert type(path) is str
AssertionError
bzr 2.2.0 on python 2.6.6 (Linux-2.6.32-5-686-i686-with-debian-squeeze-sid)
arguments: ['/usr/bin/bzr', 'diff']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'fr_FR.utf8'
plugins:
bash_completion /usr/lib/python2.6/dist-packages/bzrlib/plugins/bash_completion [2.2.0]
bookmarks /home/roland/.bazaar/plugins/bookmarks [unknown]
bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.2.0]
cvsps_import /usr/lib/python2.6/dist-packages/bzrlib/plugins/cvsps_import [unknown]
dbus /usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus [0.1.0dev]
email /usr/lib/python2.6/dist-packages/bzrlib/plugins/email [unknown]
extcommand /home/roland/.bazaar/plugins/extcommand [unknown]
git /home/roland/.bazaar/plugins/git [0.5.0]
grep /usr/lib/python2.6/dist-packages/bzrlib/plugins/grep [0.4.0]
launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.2.0]
netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.2.0]
news_merge /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.2.0]
rewrite /usr/lib/python2.6/dist-packages/bzrlib/plugins/rewrite [0.6.1]
svn /usr/lib/python2.6/dist-packages/bzrlib/plugins/svn [1.0.5dev]
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.
roland at mirexpress ~/eyrolles/debian $
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bzr-svn depends on:
ii bzr 2.2.0-1 easy to use distributed version co
ii python 2.6.6-3 interactive high-level object-orie
ii python-central 0.6.16+nmu1 register and build utility for Pyt
ii python-subvertpy 0.7.4-2 Alternative Python bindings for Su
Versions of packages bzr-svn recommends:
ii python-tdb 1.2.1-2+b1 Python bindings for TDB
ii python-xdg 0.19-2 Python library to access freedeskt
Versions of packages bzr-svn suggests:
ii bzr-rewrite 0.6.1-1 History rewriting plugin for Bazaa
-- no debconf information
--
Roland Mas
() Campagne du ruban ASCII :
/\ Contre les mails en HTML et les vcard !
More information about the Pkg-bazaar-maint
mailing list