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

Re: Help with ignoring? files

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 13 Aug 2008 21:43:01 -0400

On Wed, Aug 13, 2008 at 07:17, mcmillan0520 <mcmillan0520_at_gmail.com> wrote:
>
>
>
> Andy Levy wrote:
>>
>> On Tue, Aug 12, 2008 at 13:42, mcmillan0520 <mcmillan0520_at_gmail.com>
>> wrote:
>>>
>>>
>>>
>>> Andy Levy wrote:
>>>>
>>>> On Tue, Aug 12, 2008 at 11:59, mcmillan0520 <mcmillan0520_at_gmail.com>
>>>> wrote:
>>>>>
>>>>> Hi, I have a repository that looks roughly like this:
>>>>> /
>>>>> /PTE.sln
>>>>> /PTE.suo
>>>>> /Loader/
>>>>> /Loader/[...]
>>>>> /Loader/obj/[...]
>>>>> /Loader/bin/[...]
>>>>>
>>>>> What I want to do is when I commit the repos, any files in the obj and
>>>>> bin
>>>>> directories will not be commited. I do not want them to be ignored, i
>>>>> want
>>>>> them to just not be uploaded at all.
>>>>>
>>>>> Any help?
>>>>
>>>> Are those items in the repository already? If so, you can't ignore
>>>> them with svn:ignore, and you'll need to explicitly un-check those
>>>> items when you commit.
>>>>
>>>> Why do you not want them to be ignored, but also don't want them to be
>>>> committed? Normally if you have a file which you never want committed,
>>>> you'll ignore them via svn:ignore.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
>>>> For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
>>>>
>>>>
>>>>
>>>
>>>
>>> Sorry, from what I read on the web, ignoring keeps the files uploaded,
>>> but
>>> doesn't show any info about them. So, once I delete these items from the
>>> repository, how would I go about setting the svn:ignore rule?
>>
>> The same way you set any other property.
>> http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-ignore.html
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
>> For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
>>
>>
>>
>
>
> So if I want to ignore every folder with the name obj or bin i should set
> the root folder's svn:ignore prop to
> */obj
> */bin

I don't think those patterns will work.

> after deleting the folders?

After deleting and committing.

> Should I apply the property recursively or not?

I would recommend setting the svn:ignore property for obj and bin only
on those directories which would contain an obj and/or bin directory.

Or, better yet, configure your project to put compiled items outside
the WC altogether.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-08-14 03:43:10 CEST

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