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