Changing type of file

Ben Finney ben at
Tue Nov 7 12:07:33 GMT 2006

Howdy all,

I remember that older versions of bzr had problems with changing the
file type, but thought that had been fixed with 0.10 or so. Apparently

$ bzr status
bzr: ERROR: bzrlib.errors.BzrCheckError: Internal check failed: file u'/etc/localtime' entered as kind 'symlink' id 'localtime-20060613012304-866e9aeff2127660', now of kind 'file'

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 611, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 573, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 282, in run_argv_aliases
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 583, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 178, in run
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 134, in show_tree_status
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 83, in changes_from
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 38, in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 429, in compare
  File "/usr/lib/python2.4/site-packages/bzrlib/", 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/", line 181, in get_next
  File "/usr/lib/python2.4/site-packages/bzrlib/", line 927, in list_files
    raise BzrCheckError("file %r entered as kind %r id %r, "
BzrCheckError: Internal check failed: file u'/etc/localtime' entered as kind 'symlink' id 'localtime-20060613012304-866e9aeff2127660', now of kind 'file'

bzr 0.11.0 on python 2.4.4.candidate.0 (linux2)
arguments: ['/usr/bin/bzr', 'status']

** please send this report to bazaar-ng at

Is this now lost? How can I continue to track this working tree?

 \       "I love to go down to the schoolyard and watch all the little |
  `\   children jump up and down and run around yelling and screaming. |
_o__)          They don't know I'm only using blanks."  -- Emo Philips |
Ben Finney

More information about the bazaar mailing list