Public bug reported: Steps to reproduce:
# needed files: $ mkdir testdir $ touch testdir/one $ mkdir test $ cd test $ ln -s ../testdir . $ bzr init $ bzr add testdir/one added testdir added testdir/one # expected: warning that testdir/one is not added $ bzr status added: testdir@ # try it once again and get this error: $ bzr add testdir/one added testdir/one bzr: ERROR: exceptions.AttributeError: children Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors return run_bzr(argv) File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 384, in run no_recurse, action=action, save=not dry_run) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 51, in tree_write_locked return unbound(self, *args, **kwargs) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 315, in smart_add added.extend(_add_one_and_parent(self, inv, None, rf, kind, action)) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 518, in _add_one_and_parent _add_one(tree, inv, parent_ie, path, kind, action) File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 535, in _add_one inv.add(entry) File "/usr/lib/python2.5/site-packages/bzrlib/inventory.py", line 1185, in add if entry.name in parent.children: AttributeError: children bzr 1.3.1 on python 2.5.2.final.0 (linux2) arguments: ['/usr/bin/bzr', 'add', 'testdir/one'] encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_DE.UTF-8' plugins: bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.3.0] gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.93.0] launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown] *** 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. ** Affects: bzr (Ubuntu) Importance: Undecided Status: New -- bazaar internal error if adding file in a linked directory https://bugs.launchpad.net/bugs/264275 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs