Thanks for the feedback, which I am currently using to help my updated
implementation. My approach will be:

For any file/directory asked to be added
  - Get the osutils.realpath() of its parent directory and ensure that this is 
inside [ie. osutils.is_inside()] the osutils.realpath() of the tree.basedir
  - If not then raise an ContentsUnderSymLinkedDirectoryOutsideTreeNotSupported 
error


Note: This alogrithm has now been implemented in my branch but I have yet to 
test it properly - and it seems to be raising the error twice for some unknown 
reason.


I think I will be able to add a proper test to the blackbox tests for this soon.

-- 
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

Reply via email to