SVN不导入.so文件
我正在将 Android 源代码库导入到 SVN 中。 Android 在其版本中提供了大量 .so 和 .a 文件。这些 .so 和 .a 文件不会导入到 svn 中。
以下是我的“配置”文件中的相关项目,但仍未导入。
- 全局忽略标志。默认是有评论的 '#' 全局忽略 = *.o *.lo *.la *.al .libs *.so .so.[0-9] *.a *.pyc *.pyo '#' *.rej ~ ## .#* .*.swp .DS_Store
- 自动属性。已设置为 yes
enable-auto-props = yes - .so 文件在自动属性标志中启用。
[自动道具]
*.c = svn:eol-style=native
*.cpp = svn:eol-style=native
*.h = svn:eol-style=native
'#' *.dsp = svn:eol-style=CRLF
'#' *.dsw = svn:eol-style=CRLF
'#' *.sh = svn:eol-style=native;svn:可执行文件
*.txt = svn:eol-style=native
*.png = svn:mime-type=image/png
*.jpg = svn:mime-type=image/jpeg
Makefile = svn:eol-style=native
*.so = svn:mime-type=application/octet-stream
.a = svn:mime-type=application/octet-stream
.so. = svn:mime-type=application/octet-stream
尽管如此,我仍无法导入 .so 和 .a 文件。需要建议。
谢谢,
ARVR
I am importing Android source code base into SVN. Android provides lots of .so and .a files in its release. These .so and .a file are not getting imported into svn.
The following are the related items in my "config" file, still it not importing.
- The gloabl ignore flag. It is commented by default
'#' global-ignores = *.o *.lo *.la *.al .libs *.so .so.[0-9] *.a *.pyc *.pyo
'#' *.rej ~ ## .#* .*.swp .DS_Store - The auto properties. It has been set to yes
enable-auto-props = yes - .so file enabled in auto properties flag.
[auto-props]
*.c = svn:eol-style=native
*.cpp = svn:eol-style=native
*.h = svn:eol-style=native
'#' *.dsp = svn:eol-style=CRLF
'#' *.dsw = svn:eol-style=CRLF
'#' *.sh = svn:eol-style=native;svn:executable
*.txt = svn:eol-style=native
*.png = svn:mime-type=image/png
*.jpg = svn:mime-type=image/jpeg
Makefile = svn:eol-style=native
*.so = svn:mime-type=application/octet-stream
.a = svn:mime-type=application/octet-stream
.so. = svn:mime-type=application/octet-stream
Inspite of all this I am unable to import the .so and .a files. Need suggestions.
Thanks,
ARVR
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您根本没有设置全局忽略,那么 SVN 会自动使用默认的全局忽略。
这意味着,该行
实际上与:
因为如果未指定任何内容,则使用默认值。
要不忽略 *.so 和 .so.[0-9] 文件,您必须取消配置文件中 gobal-ignores 部分的注释,并指定一个空行或您自己的全局忽略列表。
if you have not set a global ignore at all, then SVN automatically uses the default global ignore.
That means, the line
is actually the very same as:
since if nothing is specified, the default value is used.
To not ignore *.so and .so.[0-9] files, you have to uncomment the gobal-ignores part in your config file and either specify there an empty line or your own global ignore list.
也许您有一个有效的
svn:ignore
规则来阻止导入。Maybe you have an active
svn:ignore
rule which blocks the import.