Can't perform per file commands on LP.

Bug #387119 reported by Gary van der Merwe
This bug report is a duplicate of:  Bug #269746: "bzr cat lp:foo/bar" fails. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

I'm not sure if this is a bzr or a lp code hosting bug, so I let some else triage it.

I would like to be able to perform per file commands directly on lp branches.

e.g.:
$ bzr log lp:qbzr/lib/commands.py
bzr: ERROR: Invalid url supplied to transport: "lp:qbzr/lib/commands.py": Project qbzr has no series called "lib"

$ bzr log bzr+ssh://bazaar.launchpad.net/%7Eqbzr-dev/qbzr/trunk/lib/commands.py
bzr: ERROR: Permission denied: "Cannot create 'lib'. Only Bazaar branches are allowed."

Same thing for annotate, cat etc...

Revision history for this message
Jonathan Lange (jml) wrote :

It's a Launchpad bug.

Fixing the lp: thing would require a change in our xmlrpc API. I'm not precisely sure why log raises an error like that with the fully expanded bzr+ssh url though.

affects: bzr → launchpad-code
Changed in launchpad-code:
importance: Undecided → Low
status: New → Triaged
tags: added: codehosting-ssh
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 387119] Re: Can't perform per file commands on LP.

On Mon, 2009-06-15 at 00:59 +0000, Jonathan Lange wrote:
> It's a Launchpad bug.
>
> Fixing the lp: thing would require a change in our xmlrpc API. I'm not
> precisely sure why log raises an error like that with the fully expanded
> bzr+ssh url though.

bzr expects to probe dir at a time to work up to the root of the branch.
But lp's syntax is such that this doesn't work.

For the bzr+ssh path, I bet its an error on a missing path that doesn't
match the rules, rather than a simple NoSuchPath error.

-Rob

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.