"bzr status" output problems

Bug #213172 reported by dann
2
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned

Bug Description

A few problems with the bzr status output. I hit these when improving the support for bzr in emacs.

1. The "bzr status" output should not print the subdirectory name when run from a subdirectory:
If the top of the bzr tree is /tmp/blah and you do:

cd /tmp/blah/subdir
bzr status .
The output is:
modified:
 subdir/README

It should be:
modified:
 README

This is bad for tools that parse the bzr status output, but also for end users, as you can't just copy the file name and run a bzr command, you need to either cd to the top of the tree, or be careful not to copy the subdirectory name.

2. Given this bzr status -v -S output:
+N lntest@
? lntest@

which one of the 2 items displayed is a symlink called "lntest" and which is a file called "lntest@"?

For tools that parse the bzr status output it is important to be able to unambiguously determine the file name.
Adding suffixes is not very helpful.

Revision history for this message
Martin Pool (mbp) wrote :

Thankyou for the report dann.

Please file each distinct issue you may encounter as a separate bug, as they may have different priorities or outcomes.

The first of these is a duplicate of bug 30159, and the second is a dupe of bug 112390. I'm going to mark this closed but it is useful to get the information that this affects emacs integration too.

James Westby (james-w)
Changed in bzr:
status: New → Invalid
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.