SVN 不会导入 *.a 库 [英] SVN won't import *.a library

查看:29
本文介绍了SVN 不会导入 *.a 库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个已编译的静态库(带有a"扩展名),我想包含在我的 SVN 存储库中,但添加它永远不起作用(添加其他类型的项目没有问题).如果我更改扩展名(例如,library.a"-->library.b"),则添加有效.为什么a"扩展失败?有没有办法在不重命名文件的情况下解决这个问题?

I've got a compiled static library (with an "a" extension) I want to include in my SVN repository but adding it never works (no problems 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?

推荐答案

您是否检查了全局忽略设置.在 linux 上,它们存储在 ~/.subversion/config

Have you checked your global ignore settings. On linux they are stored in ~/.subversion/config

我机器上的默认值是:

global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo

所以它忽略 *.a 文件

so it ignores *.a files

更多信息这里

您应该能够添加文件

svn add "file" --no-ignore

绕过任何忽略规则集.

如果命令:

svn status --no-ignore

I返回你前面有一个本地Ignore.运行:

returns with I in front you have a local Ignore. Run:

svn propedit svn:ignore

这篇关于SVN 不会导入 *.a 库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆