SVN won't import *.a library
2016-01-16 08:55
531 查看
I've got a compiled static library (with an "a" extension) I want to include in my SVN repository but adding it never works (noproblems adding other types of items). If I change the extension (e.g., "library.a" --> "library.b"), the add works. Why is the "a" extension failing? Is there a way around this without renaming the file?Have you checked your global ignore settings. On linux they are stored in ~/.subversion/configThe default on my machine is :
global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyoso it ignores *.a filesmore info hereYou should be able to add the file with
svn add "file" --no-ignoreto bypass any ignore rule set.If the command:
svn status --no-ignorereturns with I in front you have a local Ignore. Run:
svn propedit svn:ignore
如果需要一次性添加所有文件,可使用如下命令:svn st
--no-ignore| awk '{if ( $1 == "?") { print $2}}' | xargs svn add如果需要添加那些被忽略的文件,可使用如下命令:
svn st
--no-ignore| awk '{if ( $1 == "I") { print $2}}' | xargs svn add
相关文章推荐
- ListView之SimpleAdapter的使用
- 北大肄业生炒期货赔光母亲房产后流浪乞讨
- OSChina 周六乱弹——今天你自拍了吗?
- Java I/O
- Java I/O
- Java I/O
- 如何学习FPGA2
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线
- YDB版本v1.0.7-beta版本上线