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

Re: Switching

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Fri, 23 Aug 2013 12:34:18 -0500

On Fri, Aug 23, 2013 at 11:17 AM, Edwin Castro <0ptikGhost_at_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_at_gmail.com
Received on 2013-08-23 19:34:54 CEST

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