subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Mikesell <lesmikes...@gmail.com>
Subject Re: Switching
Date Fri, 23 Aug 2013 17:34:18 GMT
On Fri, Aug 23, 2013 at 11:17 AM, Edwin Castro <0ptikGhost@gmx.us> wrote:
>>>
>> I don't buy the argument about different histories: the pre-existing
>> directory doesn't have a subversion history, so from svn's point of
>> view there is no conflict.  What are the real, practical problems that
>> you know of or foresee with svn swich --force?
>>
>
> When objects do not have history, then subversion is in the position to
> try to decide what to do with content that already exists on the
> filesystem.

I can't, off the top of my head, think of a scenario where it would be
harmful to replace an unversioned directory with a versioned instance,
leaving any unversioned local files that happen to be there alone.
Other than maybe the chance that you'd accidentally commit them later,
but that is no different than if you had put the local files in after
the switch.  Am I missing something?   Is there a way to --force that
without also potentially --force'ing files that conflict to be
clobbered?

-- 
   Les Mikesell
     lesmikesell@gmail.com

Mime
View raw message