sud03r
sud03r

Reputation: 19749

customizing what files to keep under version control ? [svn]

Recently, I checked out a copy of a project, There were multiple source files and a manual makefile based build system.

I did this

svn status
No output // meaning . is a working copy

make
// created a lot of *.o files

svn status
No change

How come this is possible? This clearly suggests there be some wildcard way to customize the files under version control? How can I do that?s

Upvotes: 0

Views: 111

Answers (2)

uthark
uthark

Reputation: 5363

  1. That files are ignored using svn propset svn:ignore. See documentation: http://svnbook.red-bean.com/en/1.1/ch07s02.html
  2. Subversion has global-ignores setting in configuration file, as mentioned above. By default svn ignores the following types:

*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store.

Upvotes: 4

nobody
nobody

Reputation: 20163

The file ~/.subversion/config contains a list of file names and extensions to ignore in the "global-ignores" setting; *.o is one of those.

Upvotes: 2

Related Questions