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

Re: [PATCH] New feature: status --filter

From: Jack Repenning <jrepenning_at_collab.net>
Date: 2007-10-22 07:54:32 CEST

On Oct 21, 2007, at 7:27 AM, Eric Gillespie wrote:

> I've gotten many complaints from users over the years about the
> inability to see just the files with conflicts (especially after
> a giant scrollback-blowing merge), or just the files that need to
> be added, and so on. I give them little grep or sed recipes, but
> they grumble; Windows users hate having to install msys or
> cygwin, and not everyone who uses Unix systems is familiar with
> these tools. Heck, I sometimes waste a few minutes trying to
> come up with just the right regular expression.
>
> So, how about this?

Oooh, cool: a pet peeve!

I think this does not distinguish the information encoded in the
status output column, say the difference between "file modified" and
"props modified." Looking over the current list, I only spot
"Modified"/"Conflicted" for "item"/"props" as ambiguous in this way.
(Well, " " is widely ambiguous, but I guess we can live with
that ;-). Might it be better to use lower-case letters for most
status types, but upper case to mean "the props"? In man-page
summary terms, "acdimrx?!~CMl+skotb"?

The help note gives little help in driving the thing. Looks like I
can mix a bunch of filter letters, like
   svn stat --filter MAC
which doesn't surprise me (that's how I do it in my little shell
script ;-), but I suspect this is not so obvious to the intended
audience of non-shell-hackers).

Negative filters? As an historical observation, the thing that
actually made me write my own little hack is that "S"witched shows in
default and quiet modes. To my taste, that's wrong: nothing's
modified. This disagreement is not helped by the fact that our
product build environment makes a around four dozen "S"witched
directories. So I built in a negative filter, meaning "show
everything but the given ARG types." It has the obvious syntax;
expressed into the proposed syntax, mine actually defaults to:
   svn stat --filter -S

-==-
Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
mobile: +1 408.835.8090
raindance: +1 877.326.2337, x844.7461
aim: jackrepenning
skype: jrepenning

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 22 07:54:42 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.