今天提交代码时候发现,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.