Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn:ignore not ignoring xcuserdata

Tags:

xcode

svn

I am using the svn:ignore property for the first time, so I may be misunderstanding something.

I am working on an iOS application. I have an Xcode project and I want to ignore the xcuserdata folder. Using the Mac Terminal application, I go to the root of my svn repository and try to ignore the folder using:

svn propset svn:ignore path/to/my/folder/MyProject.xcodeproj/xcuserdata .

If I check the svn:ignore property using:

svn propedit svn:ignore .

I see:

path/to/my/folder/MyProject.xcodeproj/xcuserdatata

I have committed and updated, but I do an svn status, I still see the folder with a ? mark beside it. Does anyone know what I'm doing wrong? I am using svn version 1.6.17 (r1128011).


Edited to add that my question seems similar to this one: SVN just won't ignore a folder, despite propset svn:ignore, but in my case none of the files in the folder I want to ignore seem to be added to svn, nor is the folder that I want to ignore added to svn.

like image 668
Darren Avatar asked Jul 27 '12 15:07

Darren


1 Answers

I think you want:

svn propset svn:ignore xcuserdata path/to/my/folder/MyProject.xcodeproj

ie you want to ignore xcuserdata at the path.

like image 175
MattR Avatar answered Sep 22 '22 10:09

MattR