Comment 6 for bug 403857

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 403857] Re: bzr subdirectory export fails on launchpad

Aaron Bentley wrote:
> James Westby wrote:
>> Hi,
>
>> I believe the original bug report was slightly wrong, re-opening as I think it is
>> still an issue.
>
>> It should have been
>
>> bzr export localname bzr+ssh://bazaar.launchpad.net/~oubiwann/project/branch/subdir
>> bzr: ERROR: Permission denied: "Cannot create 'subdir'. Only Bazaar branches are allowed."
>
> Export to launchpad is not supported. If you want to file a bug about
> ls, that's cool.

This is not export to launchpad. This is export *from* LP, only
exporting part of the branch.

bzr help export:

Usage: bzr export DEST [BRANCH_OR_SUBDIR]

It is the same root cause. Branch.open_containing on LP throws a
permission error if it points "below" a branch, and bzr stops searching
up when it encounters this.

Thanks,

James