今天提交代码时候发现,svn add 还是 svn st 均查看不到想要提交的 so 文件。
后来才知道原来是配置文件出了问题,把so文件的提交给屏蔽掉了。
修改步骤如下:
1.Ubuntu 系统,点击左上角Place,选择Home Folder,打开home文件夹
2.ctrl+h 显示隐藏文件
3.打开.subversion/config
4.用###注释掉以下语句,保存原始记录,方便以后查看
# global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo
# *.rej *~ #*# .#* .*.swp .DS_Store
即改为
### global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo
### *.rej *~ #*# .#* .*.swp .DS_Store
5.在上面注释掉语句下行增加:
global-ignores = .*.swp .DS_Store
6.保存config即可。
7.酱紫,到Terminal里运行svn st,就可以查看到想要提交的so文件了。
参考:http://www.syncrosvnclient.com/forum/topic18.html
Thank you for contacting us.
The global-ignores option can be set from the users config file (located in the subversion configuration
directory) and is applied on the unversioned files and directories. If you use this option to ignore some files the Syncro SVN Client can display or not those files in the working copy view by using the "Show ignored files" option located on the working copy
view toolbar.
本文详细介绍了如何解决Ubuntu系统中SVN配置文件导致无法提交.so文件的问题,通过修改.subversion/config文件,注释掉屏蔽so文件的语句,并新增忽略swp和DS_Store文件的语句,最终使so文件能够正常提交。
5268

被折叠的 条评论
为什么被折叠?



