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

Re: AW: copying subdirectories in subversion 1.7

From: Mark Phippard <markphip_at_gmail.com>
Date: Mon, 25 Jul 2011 10:24:47 -0400

On Mon, Jul 25, 2011 at 9:08 AM, Les Mikesell <lesmikesell_at_gmail.com> wrote:

> On 7/25/11 7:49 AM, Markus Schaber wrote:
>
>>
>> Von: Les Mikesell [mailto:lesmikesell_at_gmail.com]
>>
>>> On 7/25/11 3:22 AM, Stefan Sperling wrote:
>>>
>>>> I am not aware of any existing developer who expressed interest in
>>>> working on 'svn detach'.
>>>>
>>>
>>> Just curious: what drove the original WC design where each
>>>
>> subdirectory
>>
>>> was inherently independent? And is this the same set of developers?
>>>
>>
>> My guess is that this Design was "inherited" from CVS.
>>
>> And AFAICS, the initial set of developers had some common members with
>> the CVS developers, and it changed gradually, there was no "revolution"
>> replacing all existing developers with new ones.
>>
>
> The tradeoffs are sort of obvious, but it seems like a very drastic change
> to make with no option to maintain the old behavior.

In SVN 1.6 and earlier it is not like someone wrote code specifically to
allow people to copy/move folders out of their WC. It was just something
that fell out of the design. There are plenty of instances where people did
not want this behavior, and for them it is now fixed. For example, in
Eclipse this has always been a huge problem. Users would copy and paste a
folder and this would silently bring the .svn folder with it which was not
what was desired. I mention Eclipse simply because this is one of the only
events where it does not provide a hook for plugins to get involved so the
SVN plugins for Eclipse are not able to detect and fix this situation and it
is perceived as a bug.

The opinion was that if users really want to be able to easily detach
folders from their working copy someone will step up with scripts and/or
patches to add a feature to SVN to do it.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2011-07-25 16:25:23 CEST

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