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?
+1
A:
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
leChuck
2010-03-06 22:51:46
Thanks for this. I'm on Mac OS X and in my ~/.subversion/config file, the global-ignores is set to the default: `global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store`which does not include *.a.
Jon
2010-03-06 23:11:26
`svn add "library.a" --no-ignore` worked. Thanks!
Jon
2010-03-06 23:32:53