bugmonotone - Bugs: bug #12905, more compact output of...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12905: more compact output of "monotone status"

Submitted by:  Joel Rosdahl <jrosdahl>
Submitted on:  Fri 29 Apr 2005 07:02:05 PM UTC  
 
Category: command line UISeverity: 3 - Normal
Item Group: feature requestStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed
mtn version --full: 

Sat 26 Nov 2005 01:28:22 AM UTC, comment #4:

We have monotone status --brief now; I don't really care what the output format is, it looks OK to me. Feel free to discuss on mailing list or propose further patches if the current output is displeasing. I'm closing this bug for now.

graydon hoare <graydon>
Project Member
Fri 29 Apr 2005 08:30:00 PM UTC, comment #3:

That seems reasonable.

I think that the "automate" namespace is a very good idea in general, by the way, and I'm sure other commands would benefit from having one machine-parsable and one human-readable version. One example is "ls tags" which isn't very human-readable right now.

Joel Rosdahl <jrosdahl>
Fri 29 Apr 2005 08:21:53 PM UTC, comment #2:

"inventory" is still in flux, and is moving to the "automate" namespace soon. You've missed a lot of discussion Derek and I have been having :-). The current status is, get "inventory" working and in automate, and then think about whether "status" can be improved.

I have to admit I'm not really sold on the CVS/SVN/etc. style "status" output; single character codes are pretty opaque and human-unfriendly. I can guess what A and M mean well enough, but beyond that... even if we want to change "status" to something else, we should think about what sort of "something else" is worth changing to.

Nathaniel Smith <njs>
Project Member
Fri 29 Apr 2005 08:16:05 PM UTC, comment #1:

Okay, now I have read up on new commands and found the "inventory" command which is similar to this. I still think that the "status" command should be more CVS-like, though. And is it necessary to have both "status" and "inventory" commands? Should "inventory" maybe just replace "status"? And wouldn't it be better to use the status symbols A, D and M instead of +, - and # to make people (or, ahem, at least me) feel more at home?

I think I'll stop asking questions now. :-)

Joel Rosdahl <jrosdahl>
Fri 29 Apr 2005 07:02:05 PM UTC, original submission:

I think it would be nice if the output of "monotone status" was more like that of CVS/Subversion/Arch/Bazaar-NG/Codeville/..., i.e. that each line of the output starts with one or possibly more status characters followed by a space and a filename. The current output format contains a lot of debugish information (hashes of files, manifests and revisions) that I think is uninteresting for most people. The base revision hash (old_revision) is probably an exception, though.

Example of current output:

=== [cut here] ========================================

new_manifest [abdfd6f14628729438e51342c1ea942c6fadde04]

old_revision [37e3c64db31734efc2a3ca94d8f4dbd9c51c0e43]
old_manifest [0f02e394c7f6068beff384998f03e4a8ff185a75]

delete_file "example.c"

add_file "foo.txt"

patch "NEWS"
from [cc72e26e5126f2a43b1a91c0ce1213a77861d34c]
to [31af5af168a0d4bf47259cd7f2fa693583a56d87]

=== [cut here] ========================================

Proposed output:

=== [cut here] ========================================
M NEWS
D example.c
A foo.txt
=== [cut here] ========================================

or:

=== [cut here] ========================================
Base revision: 37e3c64db31734efc2a3ca94d8f4dbd9c51c0e43

M NEWS
D example.c
A foo.txt
=== [cut here] ========================================

Joel Rosdahl <jrosdahl>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 26 Nov 2005 01:28:22 AM UTCgraydonStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Fri 29 Apr 2005 08:21:53 PM UTCnjsCarbon-Copy-=>Added dscherger

Back to the top


Powered by Savane 3.1-cleanup1