SVN won't import *.a library

后端 未结 6 1625
抹茶落季
抹茶落季 2020-12-25 12:36

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

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-25 13:04

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

    The default on my machine is :

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

    so it ignores *.a files

    more info here

    You should be able to add the file with

    svn add "file" --no-ignore
    

    to bypass any ignore rule set.

    If the command:

    svn status --no-ignore
    

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

    svn propedit svn:ignore
    

提交回复
热议问题