Changing type of file

Ben Finney ben at benfinney.id.au
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
not:

=====
$ 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/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 178, in run
    to_file=self.outf)
  File "/usr/lib/python2.4/site-packages/bzrlib/status.py", line 134, in show_tree_status
    specific_files=specific_files)
  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/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 lists.ubuntu.com
=====

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