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

Re: [Subclipse-users] ignore a inner folder

From: Ralf Schuchardt <rasc_at_gmx.de>
Date: Fri, 31 Oct 2008 16:55:53 +0100

Hi!

Am 31.10.2008 um 15:58 schrieb Emmanuel Cervetti:

>
> subclipse_at_mark-kirchner.de a écrit :
>>
>> Emmanuel Cervetti schrieb:
>>
>>>>> Everything works fine if I ignore a /data/* or a /tmp/* file , but
>>>>> can't manage to ignore a inner folder like /data/tmp
>>>>> Is there a way to do that ?
>>>>>
>>>> Choose "Set property ..." from the team menue for the _parent_
>>>> folder
>>>> ("/data") and add the "svn:ignore" property. Its value is the
>>>> list of
>>>> ignored items ("tmp") in this folder.
>>>>
>>>>
>>> I've tried to do that, but subclipse ignores it... it still sync
>>> the tmp
>>> file ...
>>> In your project, it works ?
>>>
>> Hi,
>>
>> is the "tmp"-folder already in the repository? If so, adding it to
>> svn:ignore is not going to help you. svn:ignore just prevents the
>> client
>> from adding something to the repository.
>> In that case, you'd have to remove the folder from the repository
>> first;
>> after that, it won't get re-added.
>>
>> HTH,
>> Mark
> No no, it's an empty new svn project, i've only the trunk folder on
> the repository (on google code )
> Then I do "synchronise", and I still have 'data/tmp' the list of
> local files marked to be commited
> Despite the fact that 'data' has the attribute ignore for "tmp"

So, the folder "data" itself is not already added to the repository?
If so, then there are two options:

- In the synchronize view there should be a "Remove from view" command
in the context menu of "tmp". You can use this to exclude items before
submitting. After the first submit you should be able to exclude "tmp"
the normal way.

- Or remove "tmp" before adding "data", set the ignore property on
data, commit, re-add "tmp"

Ralf
Received on 2008-10-31 16:56:08 CET

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

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