monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] status --brief


From: Nathaniel Smith
Subject: Re: [Monotone-devel] status --brief
Date: Sun, 2 Oct 2005 20:27:29 -0700
User-agent: Mutt/1.5.9i

On Sun, Oct 02, 2005 at 03:40:00PM +0400, Zakirov, Salikh wrote:
> It would be nice to include the default branch information too, i.e.
> what branch does the base revision belong to, and what branch will the
> change be committed to by default.
> 
> Now, I've developed a habit of doing 'cat MT/options' before each
> commit, to make sure I'm doing commit to the right branch, and, more
> importantly, from the base revision on the right branch.

Huh, interesting point.  Thanks for this feedback.  That does seem to
make sense, the current branch is a basic part of a working copy's
status...

What about something like:

$ monotone status
current branch is: net.venge.monotone
compared to revision 0eeeb4e965391e033164b755dd9549d8a777c55f you have:
  patched ChangeLog
  renamed foo to bar
$ monotone revert
$ monotone status
current branch is: net.venge.monotone
compared to revision 0eeeb4e965391e033164b755dd9549d8a777c55f you have:
  no changes
$ 

The long line there seems to draw the eye a lot, which is bad, since
it's actually the bottom part you usually care about.

Maybe:

$ monotone status
current branch: net.venge.monotone
base revision: 0eeeb4e965391e033164b755dd9549d8a777c55f
compared to base revision, you have:
  patched ChangeLog
  renamed foo to bar

This may still be a bit much distracting info for the very common
task of wanting a quick summary of "wait, what happened here
again?"... could have an even briefer version that just has the last
part, or another command ("changes" or something, maybe?) that just
outputs the last part.

-- Nathaniel

-- 
"...these, like all words, have single, decontextualized meanings: everyone
knows what each of these words means, everyone knows what constitutes an
instance of each of their referents.  Language is fixed.  Meaning is
certain.  Santa Claus comes down the chimney at midnight on December 24."
  -- The Language War, Robin Lakoff

This email may be read aloud.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]