[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: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2007-10-22 21:58:12 CEST

"Erik Huelsmann" <ehuels@gmail.com> writes:

> On 10/22/07, Hyrum K. Wright <hyrum_wright@mail.utexas.edu> wrote:
> > [After writing this, I had a conversation with Eric on IRC. We
> > basically decided that this is an area of "agree to disagree". I'm
> > sending this more for posterity than to influence the direction of the
> > patch. I still have reservations, but I'm willing to put them aside,
> > since there seems to be enough support, and a low enough maintenance
> > burden, to justify the idea.]
> >
> > I can't put my finger on it, but something about this idea doesn't feel
> > right. It kinda violates the "do one thing, and do it well" philosophy
> > of command line tools. I just don't see why we need to reinvent grep in
> > our command line client. (Decent Windows versions of the GNU tools,
> > which install as stand alone executables are available here:
> > http://gnuwin32.sourceforge.net/)
> >
> > I'll admit that I've got a *nix bias, but if folks are using the command
> > line, on either platform, they should learn how to *use* the command
> > line. We shouldn't coddle those who use the command line, but don't
> > want to learn other tools which will make their lives easier elsewhere.
> > Adding '--filter' gives people a crutch, which we then have to maintain.
>
> To me too, this feature feels like feature creep. I'm not on IRC to
> voice my concerns, but it definitely doesn't pass the 'if it can be
> written in a one-liner on *nix, we don't integrate it' test. If people
> are using Windows, they generally don't use the command line, so I
> guess that's not our target audience. (BTW: Even on Windows there's a
> grep available, albeit not in a default windows install.)
>
> I'm not hot about it, would prefer not to add it, but I don't see a
> reason to make a fuss about it either.

I already covered my opinion of this position in my original
message, but to address your replies directly:

People do use the svn command line on Windows, and we the
Subversion project support that. I have supported svn command
line users on Windows at many companies, including my current
one.

Moreover, even on Unix,

  svn st --filter C

is clearer than

  svn st | grep -E '^(C.)|(.C)'

-- 
Eric Gillespie <*> epg@pretzelnet.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 22 21:58:22 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.