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

Re: Need to check a file out, but want never to check it back in !

From: Felix Saphir <felix.saphir_at_kantarmedia.de>
Date: Thu, 04 Nov 2010 23:25:08 +0100

Am 04.11.2010 22:24, schrieb David Huang:
> On Nov 4, 2010, at 3:33 PM, Felix Saphir wrote:
>> That's why I mentioned the ignore-on-commit list. Your remarks
>> regarding the svn:ignore property were wrong, sorry. Can we keep
>> this discussion factual?
>
> Good job taking care of that ignore-on-commit strawman, but yes,
> let's keep things factual: the fact is, you mentioned
> ignore-on-commit much later. The fact is that the original poster
> said, "I could just add it to the ignore list but that means it won't
> get checked-out when I do a clean checkout of the project." Your very
> first response to that was, "That's wrong."
>
> However, it's not wrong. It's possible to add a file that's already
> in the repo to the svn:ignore property, but seeing that SVN won't
> ignore such files, it's stretching it to consider that "add[ing] it
> to the ignore list". To actually get SVN to ignore the file, you must
> first delete it from the repo.

I'm sorry, you're right about deleting the file first, but you're
completely missing the point. Let's go through this statement step by
step: Yes, he could add the file to the ignore list, nothing wrong with
that. It will however get checked out, even if it is on the ignore list
(either one). And that's what's wrong with that statement. Get it?

> If you still think the OP is wrong, maybe you can make yourself
> useful and explain to everyone how to use svn:ignore to do what the
> original poster asked. Responding to everything with "read the
> documentation" isn't useful at all.

Easy: Use the extended context menu item "delete (keep local) ...", put
the file on the svn:ignore list and commit the changes. You can find
this in the documentation here
<http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-howto-unversion.html>.
Maybe you should have a look into it ...

Felix

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2678944

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-04 23:25:26 CET

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

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