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

Re: Remove items from source control without deleting them

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Thu, 16 Jul 2009 12:49:07 -0500

Christopher Clarke wrote:
>
>>> Why should this delete the file locally from anyone else's working copy?
>> Ummm, because it is a versioned file and the point of a versioning
>> system is to make that happen...
>
> I don't want it to be a versioned file any more, for a good reason.

On the other hand, you told the version control system to make sure that
it is versioned. Even if this were a reasonable thing to be able to do,
would you want anyone with commit access to be able to 'unversion'
existing files in a way that others won't notice? So, for example,
updated existing working copies might continue to build where a fresh
checkout would no longer contain everything needed.

>>> Why not just leave it in all working copies too?
>> What should you expect to happen when someone jumps their working copy
>> back and forth between the times when the file was/wasn't versioned
>> (something versioning systems are supposed to do predictably)?
>
> I expect the file to jump back and forth between a versioned state
> (replacing the contents if appropriate) and an unversioned state.

And you must see the problem with that. The 'unversioned' state is also
undefined - whether it exists or not might depend on what the previous
revision number had been - and it certainly won't be the copy with the
local changes you are doing this to preserve.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2371836
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-16 19:50:01 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.