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

Re: svn commit: r20644 - trunk/notes

From: Max Bowsher <maxb1_at_ukf.net>
Date: 2006-07-16 02:40:50 CEST

Peter Samuelson wrote:
> [Max Bowsher]
>> Making these things part of the 'svn update' command seems to imply
>> to me that they are mixing up the concepts of adding and subtracting
>> items to/from the WC, and changing the WCs revision.
>
> That's a valid concern, but it's also true that the svn command
> namespace should _not_ be added to lightly. Is there any other svn
> command within which it would make sense to add this functionality?
>
> _Adding_ subdirs with 'update', at least, seems quite intuitive to me.
> Perhaps because that's already one way to recover from removing an
> entry by hand (the other being 'svn revert').
>
> Or would you prefer yet another aspect to 'switch'?
>
> svn switch --sticky --depth 0 .
> svn switch --sticky --remove large_subdir
> svn switch --sticky --add --depth 1 large_subdir

Sure, we shouldn't add commands lightly, but neither should we shoehorn
disparate functionality into an existing subcommand in a way which makes
it vastly more confusing. So, I'd prefer a new subcommand. This is,
after all, an entirely new kind of operation, and reflecting that in the
syntax is appropriate.

Max.

Received on Sun Jul 16 02:41:39 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.