Difference between revisions of "Auto-props"

From BZFlagWiki
Jump to: navigation, search
(Undo revision 3330 by 64.22.93.128 (Talk))
Line 1: Line 1:
racdarlet
 
 
Developers should make sure their auto-props are set correctly before committing to [[SVN]].  This helps preserve the correct line endings across platforms.  This is the "standard" auto-props section we are using (you may of course set your own if you prefer).  You'll need to edit your subversion config file(s), which varies depending on platform and Subversion client.
 
Developers should make sure their auto-props are set correctly before committing to [[SVN]].  This helps preserve the correct line endings across platforms.  This is the "standard" auto-props section we are using (you may of course set your own if you prefer).  You'll need to edit your subversion config file(s), which varies depending on platform and Subversion client.
  

Revision as of 07:49, 26 September 2007

Developers should make sure their auto-props are set correctly before committing to SVN. This helps preserve the correct line endings across platforms. This is the "standard" auto-props section we are using (you may of course set your own if you prefer). You'll need to edit your subversion config file(s), which varies depending on platform and Subversion client.

For UNIX-like platforms, edit your ~/.subversion/config file to set the auto-props. Also, please be sure that you uncomment the enable-auto-props option and set it to yes.

### Section for configuring automatic properties.
[auto-props]
### The format of the entries is:
###   file-name-pattern = propname[=value][;propname[=value]...]
### The file-name-pattern can contain wildcards (such as '*' and
### '?').  All entries which match will be applied to the file.
### Note that auto-props functionality must be enabled, which
### is typically done by setting the 'enable-auto-props' option.
*.c = svn:eol-style=native
*.cpp = svn:eol-style=native
*.cxx = svn:eol-style=native
*.h = svn:eol-style=native
*.pl = svn:eol-style=native
*.py = svn:eol-style=native
*.php = svn:eol-style=native

*.po = svn:eol-style=native
*.am = svn:eol-style=native
*.ac = svn:eol-style=native
*.in = svn:eol-style=native
*.m4 = svn:eol-style=native

*.dsp = svn:eol-style=CRLF
*.dsw = svn:eol-style=CRLF
*.sln = svn:eol-style=CRLF
*.vcproj = svn:eol-style=CRLF
*.nsi = svn:eol-style=CRLF
*.manifest = svn:eol-style=CRLF

*.sh = svn:eol-style=native;svn:executable

*.txt = svn:eol-style=native;svn:mime-type=text/plain
README = svn:eol-style=native;svn:mime-type=text/plain
*.html = svn:eol-style=native;svn:mime-type=text/html
*.xml = svn:eol-style=native;svn:mime-type=text/xml
*.bzw = svn:eol-style=native

*.xpm = svn:eol-style=native;svn:mime-type=image/x-xpm
*.bmp = svn:mime-type=image/x-bmp
*.png = svn:mime-type=image/png
*.jpg = svn:mime-type=image/jpeg
*.ogg = svn:mime-type=application/ogg
*.wav = svn:mime-type=audio/x-wav
*.ttf = svn:mime-type=font/ttf
*.ico = svn:mime-type=image/ico
*.rgb = svn:mime-type=image/x-rgb