F. Configuration options

When you run svn for the first time a new directory is created for you, $(HOME)/.subversion. In this directory you find the configuration file, config, that is used by the subversion programs. We provide a configuration for you with mandatory options and recommended options. Copy these into your configuration file.
[miscellany]
# recommended options
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
# mandatory option
enable-auto-props = yes
# all auto-props setting below are mandatory
[auto-props]
*.bat = svn:eol-style=native;svn:keywords=Id
*.c = svn:eol-style=native;svn:keywords=Id
*.cc = svn:eol-style=native;svn:keywords=Id
*.cpp = svn:eol-style=native;svn:keywords=Id
*.css = svn:eol-style=native;svn:keywords=Id
*.doxygen = svn:eol-style=native;svn:keywords=Id
*.dtd = svn:eol-style=native;svn:keywords=Id
*.h = svn:eol-style=native;svn:keywords=Id
*.hh = svn:eol-style=native;svn:keywords=Id
*.html = svn:eol-style=native;svn:keywords=Id Date
*.java = svn:eol-style=native;svn:keywords=Id
*.jar = svn:mime-type=application/x-java-archive
*.js = svn:eol-style=native;svn:keywords=Id
*.jsp = svn:eol-style=native;svn:keywords=Id
*.jpg = svn:mime-type=image/jpeg
*.m4 = svn:eol-style=native;svn:keywords=Id
*.pl = svn:eol-style=native;svn:executable;svn:keywords=Id
*.pm = svn:eol-style=native;svn:keywords=Id
*.png = svn:mime-type=image/png
*.R = svn:eol-style=native;svn:keywords=Id
*.sh = svn:eol-style=native;svn:executable;svn:keywords=Id
*.tex = svn:eol-style=native;svn:keywords=Id
*.txt = svn:eol-style=native;svn:keywords=Id
*.xml = svn:eol-style=native;svn:keywords=Id
*.xsd = svn:eol-style=native;svn:keywords=Id
*.xsl = svn:eol-style=native;svn:keywords=Id
AUTHORS = svn:eol-style=native;svn:keywords=Id
bootstrap = svn:eol-style=native;svn:executable;svn:keywords=Id
ChangeLog = svn:eol-style=native;svn:keywords=Id
configure.ac = svn:eol-style=native;svn:keywords=Id
INSTALL = svn:eol-style=native;svn:keywords=Id
Makefile = svn:eol-style=native;svn:keywords=Id
Makefile.am = svn:eol-style=native;svn:keywords=Id
NEWS = svn:eol-style=native;svn:keywords=Id
README = svn:eol-style=native;svn:keywords=Id
references.bib = svn:eol-style=native;svn:keywords=Id
TODO = svn:eol-style=native;svn:keywords=Id

The global-ignores define file patterns that is to be ignored when a svn status is issued. The auto-props patterns are only used when you add files and directories, i.e., using svn add or svn import.

We also supply four bash shell aliases that make status checks of your working copy easier, add them to your .bashrc

alias svnl="svn log -r 1:HEAD -v"    # Show log messages
alias svnm="svn status -u -q"        # Show locally/repository changed items
alias svnn='svn status -q'           # Show locally changed items
alias svns="svn status -u -q -v"     # Show status of all items