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 $
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 errors. PathNotChild: Path "/home/ mtebeka/ .www/bootcamp" is not a child of path "/home/ mtebeka/ work/bootcamp"
mtebeka@bugs:.www - 10:09 $ bzr add bootcamp
bzr: ERROR: bzrlib.
Traceback (most recent call last): python2. 5/site- packages/ bzrlib/ commands. py", line 806, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 762, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 492, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ builtins. py", line 384, in run python2. 5/site- packages/ bzrlib/ mutabletree. py", line 51, in tree_write_locked python2. 5/site- packages/ bzrlib/ mutabletree. py", line 294, in smart_add self.relpath( filepath) ) python2. 5/site- packages/ bzrlib/ workingtree. py", line 477, in relpath relpath( self.basedir, path) python2. 5/site- packages/ bzrlib/ osutils. py", line 907, in relpath PathNotChild( rp, base) mtebeka/ .www/bootcamp" is not a child of path "/home/ mtebeka/ work/bootcamp"
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
no_recurse, action=action, save=not dry_run)
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
rf = _FastPath(
File "/usr/lib/
return osutils.
File "/usr/lib/
raise errors.
PathNotChild: Path "/home/
bzr 1.1.0 on python 2.5.1.final.0 (linux2) python2. 5/site- packages/ bzrlib/ plugins/ launchpad [unknown] python2. 5/site- packages/ bzrlib/ plugins/ multiparent. pyc [unknown] /bugs.launchpad .net/bzr/ +filebug
arguments: ['/usr/bin/bzr', 'add', 'bootcamp']
encoding: 'ISO-8859-1', fsenc: 'ISO-8859-1', lang: 'en_US'
plugins:
launchpad /usr/lib/
multiparent /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
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 $