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

Re: [PROPOSAL] Managing large working copies using viewspecs

From: Max Bowsher <maxb1_at_ukf.net>
Date: 2006-07-17 20:00:11 CEST

Peter Samuelson wrote:
> [David James]
>> If the user types svn viewspec --remove somedir/*, and their shell
>> has expanded the asterik, we should display an error message which
>> notes that the glob was expanded, and only proceed if the user
>> supplies the force option. (We can detect that the user supplied a
>> '*' glob by noting that *every* non-hidden file and directory was
>> supplied on the command line.)
>
> Ugh. That is way too magical, and it's a bit insulting for a program
> to presume to tell me that because it's possible that I used a shell
> glob, I probably didn't know what I was doing. What if my shell glob
> was *.php and I'm running the same command in several places, and this
> particular directory has only *.php files in it?
>
> Surely it is outside the scope of the svn client to lecture users on
> how shell globbing works. Can't we trust users to know how to use
> their own shells?!?

I agree very much.

To me, the idea of attempting to second-guess glob expansion is entirely
disgusting.

Max.

Received on Mon Jul 17 20:00:44 2006

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.