[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: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Thu, 4 Nov 2010 22:08:27 +0000

On 4 November 2010 18:13, Robin Guest <robin.guest_at_gmail.com> wrote:
> On 4 November 2010 17:53, Alexander Iljin <ajsoft_at_yandex.ru> wrote:
>>
>> DH> On 11/4/2010 12:39 PM, Felix Saphir wrote:
>> >> Please read the manual.
>> DH> I've already read it, actually--sounds like you're the one who needs a
>> DH> refresher. If something's on the svn:ignore list, it can't be in the
>> DH> repo, which implies that you can't check it out.
>>
>>  There are two statements in this sentence, both false.
>>  In fact,
>>  1. you can have anything matching a svn:ignore pattern in the
>>  repository;
>>  2. if there is anything in the repository, it will be checked out,
>>  regardless of any svn:ignore patterns.
>>
>>  Do read the manual, will you?
>
> Alexander is right here. The key paragraph is "The svn:ignore property
> contains a list of file patterns which certain Subversion operations will
> ignore. Perhaps the most commonly used special property, it works in
> conjunction with theglobal-ignores run-time configuration option (see the
> section called “Config”) to filter unversioned files and directories out of
> commands svn status, svn add, and svn import."
> What it doesn't go on to say is which Subversion operations *won't* ignore
> files/folders based on the pattern. By observation, though, it's easy to see
> that TSVN Commit, TSVN Check For Modifications, the equivalent svn command
> line commands, and TSVNCache are among those those won't!

Sorry, but that's not right either. svn:ignore is used by everything
but it affects only unversioned files.

TSVN Commit will ignore unversioned items that match the ignore
patterns and not show them at all in the list of commitables.

TSVN Add will ignore unversioned child items that match the ignore
patterns. But if you right click on an ignored item you still have the
opportunity to add it to SVN. If you add it then it is no longer
unversioned and no longer ignored.

> So svn:ignore this has no further relevance to the OP's problem, all it is
> an excuse for a "please read the manual" war clogging up the thread!

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2678939
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-04 23:08:40 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.