Package: mr
Version: 1.13
Severity: normal

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.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to