开发者

Issue with a Core Data Model in a svn repository

I am working on an iOS app in XCode 4. I am unable to commit the Data Model (.xcdatamodel开发者_运维技巧d) to my subversion repository. The svn tool in xcode is a bit lacking so I went to the command line.

When I type "svn status", it shows a '?' beside my .xcdatamodeld file, which means it is not under version control.

When I do an "svn add" for the .xcdatamodeld, it tells me that it is already under version control.

I think this is more of an SVN issue. Any idea what could cause this contradiction?

jorj


When you create a new version xcode copies the .svn directory.

Solution: remove the .svn directory in the new version directory:

rm -rf DataModel.xcdatamodeld/DataModel\ 2.xcdatamodel/.svn


did you move any directories or folders around?

I've found odd behaviour when one local repository gets another's metadata because the embedded `.svn' directories moved into the other local repository along with the folder.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜