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

Re: Newbie question: svn:ignore ignored?

From: Frank Reiff <reiff_at_publicspace.net>
Date: 2005-11-27 11:07:14 CET

Hi Ryan,

Thanks for your help. I have checked and the build directory is not
under svn control and has not been in any previous revisions either.
It is completely un-versioned...!?

Nonetheless I always get these two lines in the svn status:

? trunk/ABFR7x/build/Deployment
? trunk/ABFR7x/build/A Better Finder Rename.build

The svn:ignore is set on trunk/ABFR7x and according to my logic this
should mean that anything from trunk/ABFR7X/build should be ignored.
Or is my regular expression false?

Notice that trunk/ABFR7x/build is not in the list..

Thanks again for your help.

Regards,

Frank

On 27/11/2005, at 12:29 AM, Ryan Schmidt wrote:

>
> On Nov 26, 2005, at 20:52, Frank Reiff wrote:
>
>> I have just started using svn on Mac OS X with XCode a few days
>> ago. I am really happy with the system (great improvement compared
>> to CVS and CA's Harvest CC), but I do have a problem using the
>> svn:ignore property.
>>
>> I want svn to ignore all files in the "build" subdirectory, so I
>> went into the "working copy"'s project directory and set the
>> svn:ignore property to "build" with (from memory):
>>
>> svn propset svn:ignore 'build' .
>>
>> The project directory is the immediate parent directory of the
>> "build" directory whose files I want to be ignored.
>>
>> When I did my commit the meta data of the directory was correctly
>> saved and I can see that it has been applied using svn propget.
>>
>> Unfortunately this does not result in the behavior I want. Each
>> time I do an svn status, I still see the build directory and its
>> subdirectories with the "? I'm not under version control" symbol.
>>
>> What am I doing wrong?
>
>
> Is the build directory already under version control? That is, did
> you already svn add build at some point? If so, svn:ignore build .
> will have no effect, because what it means is that Subversion will
> ignore an unversioned item called "build". Since it's already
> versioned, there's nothing to ignore.
>
> There are two ways you can do it. 1) You can remove the build
> directory from version control with svn rm build. Then, when your
> build system recreates the build directory, svn st will not show
> it. Or, 2) you can leave the build directory under version control
> but mark all items inside it to be ignored. That is, in the
> directory containing the build directory, svn propedit svn:ignore .
> and remove the line that says "build", and instead svn propset
> svn:ignore '*' build.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Nov 27 11:09:38 2005

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.