bzr cat cannot work on a remote branch

Bug #73500 reported by Nicholas Allen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Low
Wouter van Heyst

Bug Description

It would be nice if bzr cat could work on a remote branch. So I would like to do something like this:

 bzr cat http://bazaar-vcs.org/bzr/bzr.dev/README

to view the latest README on the bzr trunk. However, I get this error message:

bzr: ERROR: http://bazaar-vcs.org/bzr/bzr.dev/.bzr/ is not a local path.

Revision history for this message
Wouter van Heyst (larstiq) wrote :

Some of the code in cmd_cat looks a bit weird, that needs more looking into. I've attached a quick fix that should work at least in your case though.

Changed in bzr:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
Wouter van Heyst (larstiq) wrote :
Revision history for this message
Wouter van Heyst (larstiq) wrote :

The code in question got introduced with r2107 for the fix to bug 30190.

Some of the currently possible code paths can't possibly work (tree can be None, throwing a NoneType exception). There are no tests exercising these, partly due to the earlier problem of the NotLocalUrl making it impossible for cat to work remotely.

Changed in bzr:
assignee: nobody → larstiq
Changed in bzr:
status: Confirmed → Fix Committed
Changed in bzr:
status: Fix Committed → Fix Released
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.