Peter Eisentraut wrote:
> A simple bzr checkout command such as
>
> [dbapi-compliance]
> checkout = bzr branch lp:dbapi-compliance
>
> is not considered trusted if in a nontrusted file. I have to add the
> checkout directory explicitly, like
>
> [dbapi-compliance]
> checkout = bzr branch lp:dbapi-compliance dbapi-compliance
>
> then it works.
>
> I believe the problem is in this code:
>
> elsif ($twords[$c] eq '$repo') {
> # If a repo is not specified, assume it
> # will be the last path component of the
> # url, or something derived from it, and
> # check that.
> if (! defined $words[$c] && defined $url) {
> ($words[$c])=$url=~/\/([^\/]+)\/?$/;
> }
>
> It might be worth special-casing launchpad checkout, since that's kind
> of an important use case.Sure. Send me a patch. -- see shy jo
signature.asc
Description: Digital signature

