Package: bzr
Version: 0.11-1
Severity: important

I use bzr to keep track of changes in my /etc. On installing some new packages 
certain files 
were replaced by symlinks. As a consequence, bzr crashes. 

Output from crash:
johannes2:/etc# bzr diff
Bzrtools is not up to date with installed bzr version 0.11.0.
There should be a newer version available, e.g. 0.11.
bzr: ERROR: bzrlib.errors.BzrCheckError: Internal check failed: file 
u'/etc/resolv.conf' entered 
as kind 'file' id 'resolv.conf-20061103202635-e8hzvqixagmjd66s-205', now of 
kind 'symlink'

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 611, in 
run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 573, in 
run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 282, in 
run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 583, in 
ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 1242, in run
    old_label=old_label, new_label=new_label)
  File "/usr/lib/python2.4/site-packages/bzrlib/diff.py", line 351, in 
diff_cmd_helper 
    extra_trees=extra_trees)
  File "/usr/lib/python2.4/site-packages/bzrlib/diff.py", line 376, in 
show_diff_trees
    extra_trees=extra_trees)
  File "/usr/lib/python2.4/site-packages/bzrlib/diff.py", line 404, in 
_show_diff_trees
    extra_trees=extra_trees, require_versioned=True)
  File "/usr/lib/python2.4/site-packages/bzrlib/tree.py", line 83, in 
changes_from
    require_versioned=require_versioned,
  File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 38, in 
read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/tree.py", line 429, in compare
    specific_file_ids)
  File "/usr/lib/python2.4/site-packages/bzrlib/delta.py", line 277, in 
_compare_trees
    new_path, new_class, new_kind, new_file_id, new_entry = get_next(new_files)
  File "/usr/lib/python2.4/site-packages/bzrlib/delta.py", line 181, in get_next
    return iter.next()
  File "/usr/lib/python2.4/site-packages/bzrlib/workingtree.py", line 927, in 
list_files
    raise BzrCheckError("file %r entered as kind %r id %r, "
BzrCheckError: Internal check failed: file u'/etc/resolv.conf' entered as kind 
'file' id 'resolv.conf-20061103202635-e8hzvqixagmjd66s-205', now of kind 
'symlink'
                                                                           
bzr 0.11.0 on python 2.4.4.candidate.0 (linux2)
arguments: ['/usr/bin/bzr', 'diff']

** please send this report to [EMAIL PROTECTED]

Manually removing the files that were replaced by symlinks fixes the problem. 

# bzr remove resolv.conf

Instead of exiting on error, bzr should either give a warning or issue a 
warning and 
'automatically' removing the file. 

Johannes

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages bzr depends on:
ii  python                        2.4.3-11   An interactive high-level object-o
ii  python-celementtree           1.0.5-8    Light-weight toolkit for XML proce
ii  python-central                0.5.8      register and build utility for Pyt
ii  python2.4                     2.4.3-8    An interactive high-level object-o

Versions of packages bzr recommends:
ii  python-paramiko               1.5.2-0.1  make SSH2 connections with python
ii  python-pycurl                 7.15.5-1   Python bindings to libcurl

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to