Feature request: new option --short to command "status"
Jari Aalto
jari.aalto at cante.net
Wed Nov 15 05:37:11 GMT 2006
I'd like to propose new option that would output the currect status in more
compact form:
$ bsz --short status
The returned lines would only include a:
<status marker> <filename>
Like found in CVS/SVN:
M ChangeLog
M README.txt
A newfile.txt
D deleted.txt
R renamed.txt (fromfile => renamed.txt)
? unknown.txt
C conflict.txt
The current layout:
modified:
README.txt
...
...
...
unknown:
unknown.txt
...
...
...
has two problems:
- Tools cannot parse the currentlisting very easily. E.g. can't use grep(1).
This is also true, when developing backends, like Emacs bazaar mode.
(it's possible, but current listing makes thing more difficult)
- If there are many files in the listing, the TYPE (like "modified:")
may scroll out of view when 20 files have changed, 20 more added
and 50 renamed. (think terminal, which doe snot have big buffer
and user forgot to use less(1) or equivalent).
"status" is not the only command affected, so the option should be
supported by other variants as well. Like
bzr modified
Existing CVS and SVN users would find the existence of option --short "like
home", when they would consider bzr as alternative for their work. This
might potentially ake the transition to bzr easier.
Jari
More information about the bazaar
mailing list