[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 21:06:55 -0500

Christopher Clarke wrote:
>
> I don't want to delete the folder, just remove it from version control.
> What would all the users do without the family photos?! They would be
> sad, for one thing.
>
>> 2) Having 3rd party software in version control is indeed a terribile
>> idea. 3rd party should not be versioned at all, as you are not doing any
>> development on it. You should be providing unversioned installers or
>> libraries instead.
>
> Agreed, it was foolish to add it. Now I need to remove it from version
> control. Unfortunately, there's no way to do that!

If you hadn't put it there, it wouldn't be in the working copy. Delete it,
update the working copy and you'll be in the same position. Do whatever you
would have done to get an unversioned copy there if you hadn't included it in
the first place.

>> 3) I can't see how user-error has something to do with this
>
> Users make errors. That's a part of every application, no? How often do
> you "undo" something in a typical day?

If having an unversioned copy turns out to be an error, how do you expect
anything to undo that for you?

> Unfortunately this is a PHP app without write access to most of the
> local filesystem. In any event, I'd rather not put additional code in
> the application to manage working copies.

But the file/directory you want to put there won't be part of the working copy
once you delete it from version control. Hence the need to have some other
mechanism if you aren't going to have everything there under version control.

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