[Pkg-bazaar-maint] Bug#459909: bzr-svn: Assertion failed in bzr-svn

Roland Mas lolando at debian.org
Wed Jan 9 13:35:26 UTC 2008


Package: bzr-svn
Version: 0.4.6-1
Severity: normal

After manually patching bzr-svn (see bug #459886), I encounter
assertion failures:

roland at mirexpress ~/debian/f-spot-trunk+sid $ bzr log debian/control 
bzr: ERROR: exceptions.AssertionError: 

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 802, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 758, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 768, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 1694, in run
    tree, b, fp = bzrdir.BzrDir.open_containing_tree_or_branch(
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 681, in open_containing_tree_or_branch
    tree = bzrdir.open_workingtree()
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/svn/workingtree.py", line 739, in open_workingtree
    return SvnWorkingTree(self, self.local_path, self.open_branch())
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/svn/workingtree.py", line 90, in __init__
    self.base_tree = SvnBasisTree(self)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/svn/tree.py", line 227, in __init__
    workingtree.branch.scheme)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/svn/repository.py", line 402, in get_fileid_map
    self.revision_fileid_renames, scheme)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/svn/fileids.py", line 151, in get_map
    revnum, scheme):
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/svn/repository.py", line 949, in follow_branch_history
    assert scheme.is_branch(bp) or scheme.is_tag(bp)
AssertionError

bzr 1.0.0 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'log', 'debian/control']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'fr_FR.UTF-8'
plugins:
  bzrtools             /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools [1.0.0]
  email                /usr/lib/python2.4/site-packages/bzrlib/plugins/email [unknown]
  gtk                  /usr/lib/python2.4/site-packages/bzrlib/plugins/gtk [0.93.0]
  launchpad            /usr/lib/python2.4/site-packages/bzrlib/plugins/launchpad [unknown]
  multiparent          /usr/lib/python2.4/site-packages/bzrlib/plugins/multiparent.pyc [unknown]
  rebase               /usr/lib/python2.4/site-packages/bzrlib/plugins/rebase [0.3.0]
  svn                  /usr/lib/python2.4/site-packages/bzrlib/plugins/svn [0.4.6]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.
roland at mirexpress ~/debian/f-spot-trunk+sid $

When I asked (on #bzr) whether I could specifically disable the
bzr-svn plugin for one branch (because I suspect what I'm doing isn't
exactly the recommended use case), Aaron Bentley told me to report it
anyway:

<Lo-lan-do> bzr commit debian/changelog complains that an assertion has failed, presumably because the svn checkout isn't rooted at the same point as the whole bzr branch.
<Lo-lan-do> Ignoring the bzr-svn plugin for operations seems to fix the problem for me.  I can live with --no-plugins :-)
<Lo-lan-do> But if there's a better way, by all means tell me about it :-)
<abentley> This sounds a lot like a bug in bzr-svn.  It should just try to commit to the svn repo.
<Lo-lan-do> I don't want it to.  I'm doing a one-way gateway.
<abentley> Yeah, but there definitely shouldn't be assertion failures.
<abentley> Maybe there should also be a way to flag an svn checkout so that bzr ignores it.
<abentley> Anyhow, if you could report the assertion failure against bzr and bzr-svn, that would be helpful.  We can sort out where the bug actually lies.
<Lo-lan-do> Will do
<abentley> I think causing .svn directories to be ignored is a bzr-svn issue, because presumably you'd need some metadata in the .svn directory to do that.

Roland.
-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bzr-svn depends on:
ii  bzr                         1.0-1        easy to use distributed version co
ii  python                      2.4.4-6      An interactive high-level object-o
ii  python-central              0.5.15       register and build utility for Pyt
ii  python-pysqlite2            2.4.0-2      python interface to SQLite 3
ii  python-subversion           1.4.4dfsg1-1 Python bindings for Subversion

Versions of packages bzr-svn recommends:
ii  bzr-rebase                    0.3-1      Rebase plugin for Bazaar

-- no debconf information





More information about the Pkg-bazaar-maint mailing list