You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Tim Moloney <mo...@mrsl.com> on 2002/11/04 16:52:49 UTC

Re: [Issue 605] New - column headings for "svn status" output

issues@subversion.tigris.org wrote:

> + Commands that output information in columns (the ultimate
> + example being "svn status") should print column headings.
> + For example:
> + 
> + text/props    rev  last mod & author    file
> + ==========    ===  ==================== =================
> + __            931      931     kfogel   .
> + _             931      700     kfogel   ./BUGS
> + _             931      756    sussman   ./COMMITTERS
> + _             931        1        svn   ./COPYING
> + _             931      741      brane   ./HACKING
> + _             931        1        svn   ./IDEAS
> + _             931      736     kfogel   ./INSTALL
> + _             931      910     gstein   ./Makefile.in
> + _             931        1        svn   ./NEWS
> + _             931      487       fitz   ./PORTING

Another suggestion is to specify the format of the output, in
other words, what columns and the order of the columns.  For
example, rpm does this.  From the rpm man page:

   You may specify the format that package information should be
   printed in. To do this, you use the

     --qf|--queryformat QUERYFMT

   option, followed by the QUERYFMT format string.  Query formats
   are modifed versions of the standard printf(3) formatting....

I haven't looked at any of Subversions source code, I don't expect
this to be difficult to implement.  Although I don't have time to
do this myself, I thought that I'd throw the idea out there for
others who might have more free time than me.

-- 
Tim Moloney
ManTech Real-time Systems Laboratory
2015 Cattlemen Road                             \     /
Sarasota, FL  34232                     .________\(O)/________.
(941) 377-6775 x208                        '  '  O(.)O  '  '


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org