配置visual subversion以排除

时间:2010-01-03 05:02:48

标签: svn xcode

我一直在搜索有关如何排除visual svn文件但没有找到任何文件的任何文档。我找到的所有文档似乎与我的文件结构不匹配,或者我缺少一些引用的文件/目录。例如,我发现其中包含配置项的唯一文件似乎已被完全注释掉,并且缺少杂项部分以及任何自动属性启用 - 等等...

最终我需要排除一些文件,以便我的开发可以在没有SVN错误的情况下继续。我经常收到pbuser和其他项目文件的错误,并希望确保这不会引起我的其他一些麻烦。

Here is information I would love to use但不能匹配:

How to “fix” Subversion in XCode 3
Posted on December 10, 2008 by Rodney Aiglstorfer in Xcode 

If you don’t take the necessary steps to prepare for subversion, you will run into
problems using it in XCode. This is because XCode produces files that “confuse”
Subversion because it either thinks they are text files when they are really binary
files or the reverse. To overcome these limitations, you need to make some simple
changes to the subversion configuration file in your user home directory. Here are
some steps you can follow to ensure that you will be able to use Subversion within
XCode without any issues.

Step 1. Open the subversion configuration file

~/.subversion/config
NOTE: If the “.subversion” directory doesn’t exist yet then run this command which
fails but will create the necessary files to get you started:

svn status
Step 2. Enable “global-ignores” and add new things to ignore

Find the line that contains the text “global-ignores” and append the following text:

build *~.nib *.so *.pbxuser *.mode* *.perspective*

我正在寻找的是如何排除我知道我需要用于Visual subversion的文件 - 它不应该与常规的svn完全不同,因为它声称使用相同的产品只是放置一个gui。

1 个答案:

答案 0 :(得分:0)

好吧,我已经弄明白了。看来缺少任何subversion文档的是,这是在客户端级别而不是在服务器上完成的。我的印象是我在服务器上寻找配置,以从服务器处理中排除这些文件。

如此简单:  在Mac上打开终端提示符  cd~ / .subversion /  打开配置  编辑内容在上面的初始文章中详述。  保存配置  关闭xcode并重新打开

相关问题