SipXtapi Recommended subversion auto-prop settings
From SIPfoundry sipx, The Open Source SIP PBX for Linux - Calivia
Introduction to subversion auto-props
Subversion allows one to auto-set properties on filetypes you define. The auto-props feature provides just this facility. Just provide an extension, and a semicolon separated list of properties to apply to new files with that extension, and voila, no need for manually setting common properties over and over -- they're automatically applied.
Where to go to set auto-props, and how to turn it on
Under windows, you want to edit the file $USERPROFILE/Application Data/Subversion/config Under *nix, you want to edit the file ~/.subversion/config
To turn on the auto-props feature, you'll want to add enable-auto-props = yes to the [miscellany] section:
[miscellany] enable-auto-props = true
Recommended auto-props settings
Now that you have auto-props turned on, you want to add some auto-props. Here is the list of recommended auto-props for sipXtapi. Just Copy/paste the following into the [auto-props] section of your subversion config file.
### SIPez sipXtapi svn auto-props settings # Source files *.c = svn:eol-style=native;svn:mime-type=text/plain *.cpp = svn:eol-style=native;svn:mime-type=text/plain *.h = svn:eol-style=native;svn:mime-type=text/plain *.hpp = svn:eol-style=native;svn:mime-type=text/plain *.hxx = svn:eol-style=native;svn:mime-type=text/plain *.java = svn:eol-style=native;svn:mime-type=text/plain *.py = svn:eol-style=native;svn:mime-type=text/plain # Windows project files and makefiles *.dsp = svn:eol-style=CRLF;svn:mime-type=text/plain *.dsw = svn:eol-style=CRLF;svn:mime-type=text/plain *.sln = svn:eol-style=CRLF;svn:mime-type=text/plain *.vcproj = svn:eol-style=CRLF;svn:mime-type=text/plain # Makefiles and GNU Autotools input files Makefile = svn:eol-style=native;svn:mime-type=text/plain *.am = svn:eol-style=native;svn:mime-type=text/plain *.ac = svn:eol-style=native;svn:mime-type=text/plain *.in = svn:eol-style=native;svn:mime-type=text/plain # Linux scripts *.sh = svn:eol-style=native;svn:executable;svn:mime-type=text/plain *.m4 = svn:eol-style=native;svn:executable;svn:mime-type=text/plain *.awk = svn:eol-style=native;svn:executable;svn:mime-type=text/plain # Text files *.txt = svn:eol-style=native;svn:mime-type=text/plain INSTALL = svn:eol-style=native;svn:mime-type=text/plain README = svn:eol-style=native;svn:mime-type=text/plain LICENSE = svn:eol-style=native;svn:mime-type=text/plain # HTML and XML files *.htm = svn:eol-style=native;svn:mime-type=text/html *.html = svn:eol-style=native;svn:mime-type=text/html *.css = svn:eol-style=native;svn:mime-type=text/css *.xml = svn:eol-style=native;svn:mime-type=text/html # Images *.png = svn:mime-type=image/png *.jpg = svn:mime-type=image/jpeg *.tif = svn:mime-type=image/tiff
