[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

making 'status' output more human readable

From: Bart Robinson <lomew_at_pobox.com>
Date: 2006-01-10 20:56:20 CET

I was thinking of writing a patch to add an option to 'status'
to make the output geared more towards human readability. I
often forget what all the letters mean and which column
indicates what, so although the 'svn help' output is concise and
helpful, it would be nice to run it with a different option to
get a brief explanation.

Has there been any work towards this sort of thing? I didn't
find anything in the haxx archives.

I was thinking something like --explain/-x and the output would
be something like, instead of
     M 965 wc/bars.c
           * 965 wc/foo.c
    A + 965 wc/qxxxx.c
this
    wc/bars.c@965 (prop-mod)
    wc/foo.c@965 (updatable)
    wc/qxxxx.c@965 (added, w/hist)

The default usage and flags would not change.

Maybe not that form exactly but you get the idea. It would not
be intended to be easily machine readable or guaranteed not to
change in minor releases. Maybe it could be extended to allow a
format string (but that sounds like over-eng to me).

An alternative way would be to append something to the end of
the current output (still, only if -x). This would have a
training effect where people would start learning what the
single char ones mean.
     M 965 wc/bars.c # prop-mod
           * 965 wc/foo.c # updatable
    A + 965 wc/qxxxx.c # added, w/hist

Thanks
-- bart

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 10 20:57:35 2006

This is an archived mail posted to the Subversion Dev mailing list.