Activity log for bug #183831

Date Who What changed Old value New value Message
2008-01-17 18:17:15 tebeka bug added bug
2008-05-30 00:38:12 Daniel Hahler bzr: status New Confirmed
2008-05-30 00:38:31 Daniel Hahler title Internal error with soft link Internal error with soft link (bzrlib.errors.PathNotChild)
2008-07-30 21:21:55 Robert Collins description In my .www directory which is versioned, I've created a soft link to another directory (../work/bootcamp). ../work is versioned under another bazaar tree. When trying to add the soft link, the following happens: mtebeka@bugs:.www - 10:09 $ ln -s ../work/bootcamp bootcamp mtebeka@bugs:.www - 10:09 $ bzr add bootcamp bzr: ERROR: bzrlib.errors.PathNotChild: Path "/home/mtebeka/.www/bootcamp" is not a child of path "/home/mtebeka/work/bootcamp" Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 806, in run_bzr_catch_errors return run_bzr(argv) File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 762, 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 294, in smart_add rf = _FastPath(self.relpath(filepath)) File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 477, in relpath return osutils.relpath(self.basedir, path) File "/usr/lib/python2.5/site-packages/bzrlib/osutils.py", line 907, in relpath raise errors.PathNotChild(rp, base) PathNotChild: Path "/home/mtebeka/.www/bootcamp" is not a child of path "/home/mtebeka/work/bootcamp" bzr 1.1.0 on python 2.5.1.final.0 (linux2) arguments: ['/usr/bin/bzr', 'add', 'bootcamp'] encoding: 'ISO-8859-1', fsenc: 'ISO-8859-1', lang: 'en_US' plugins: launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown] multiparent /usr/lib/python2.5/site-packages/bzrlib/plugins/multiparent.pyc [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. mtebeka@bugs:.www - 10:10 $ ls -lah bootcamp lrwxrwxrwx 1 mtebeka mtebeka 16 2008-01-17 10:09 bootcamp -> ../work/bootcamp mtebeka@bugs:.www - 10:10 $ mtebeka@bugs:.www - 10:09 $ ln -s ../work/bootcamp bootcamp mtebeka@bugs:.www - 10:09 $ bzr add bootcamp bzr: ERROR: bzrlib.errors.PathNotChild: Path "/home/mtebeka/.www/bootcamp" is not a child of path "/home/mtebeka/work/bootcamp"
2008-07-30 21:21:55 Robert Collins title Internal error with soft link (bzrlib.errors.PathNotChild) bzr add <softlink> follows the link
2009-04-23 19:46:48 Geoff Bache attachment added New attempt to fix this bug... http://launchpadlibrarian.net/25899344/bug183831.patch
2010-03-30 07:22:29 Martin Pool tags ui add symlink
2010-06-24 20:45:45 Robert Collins summary bzr add <softlink> follows the link bzr add <symlink> follows the link
2010-07-16 08:35:41 Martin Pool bzr: importance Undecided Medium
2010-07-16 08:35:41 Martin Pool bzr: status Confirmed Fix Released