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

Re: SVN Status information

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-09-11 14:38:24 CEST

Brooke Benjamin Oehm Smith wrote:
> Howdy all,
>
> I've done alot of reading of SVN-Users, and now its time to do some
> posting!
>
> One thing I've been meaning to ask is why the Status information (such
> as the five columns from svn status) use spaces, instead of "." or "-"?
> I reckon that the following looks better than what svn status would
> normally return and is a lot easier to read:
>
> $ svn status
> ..L.. abc.c # svn has a lock in its .svn directory for abc.c
> M.... bar.c # the content in bar.c has local modifications
> .M... baz.c # baz.c has property but no content modifications
> X.... 3rd_party # this dir is part of an externals definition
> ?.... foo.o # svn doesn't manage foo.o
> !.... some_dir # svn manages this, but it's either missing or
> incomplete
> ~.... qux # versioned as dir, but is file, or vice versa
> I.... screenrc # this file is ignored
> A..+. moved_dir # added with history of where it came from
> M..+. moved_dir/README # added with history and has local modifications
> D.... stuff/fish.c # this file is scheduled for deletion
> A.... stuff/loot/bloo.h # this file is scheduled for addition
> C.... stuff/loot/lump.c # this file has conflicts from an update
> ....S stuff/squawk # this file or dir has been switched to a branch

Notice that you don't need to know which of the 2nd to 5th columns a symbol
is in to interpret it - all you need to know is "1st column or not 1st
column". Therefore I don't think the dots would be an improvement.

> And what about 'svn status -v' also returning 5 header titles saying
> what these are?

Again, since the only important fact is 1st column or not 1st column, I
don't think this is important. Also not that our status output is supposed
to be machine parseable - a change like this would be forbidden by our
compatibility rules until 2.0 unless it was default off and controlled by an
entirely new option.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 11 14:38:56 2004

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