[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 15:22:41 -0500

Christopher Clarke wrote:

>> On the other hand, you told the version control system to make sure
>> that it is versioned.
>
> Yep, oops, need to undo now.

But the concept of versioning doesn't start and stop - otherwise it
wouldn't be version control.

>> 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?
>
> Yes, please.

Not on any of my systems, please.

>> So, for example, updated existing working copies might continue to
>> build where a fresh checkout would no longer contain everything needed.
>
> I understand. That's fine.

It's not fine for me. I want a fresh checkout to match the state of an
updated working copy. I don't want someone to accidentally unversion my
files and break that - and accidents are as likely to happen in either
direction.

>>>>> 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.
>
> Again, that's ok.

It's not OK for anyone who expects version control to actually control
versions. As an administrative operation on the repository it might be
OK, but you have that now if you dump the repository and filter out the
thing(s) you don't want to be in there.

-- 
   Les Mikesell
     lesmikesell_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2371873
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-16 22:23:34 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.