[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: informing import about mime types?

From: Rusk, Patrick <PRusk_at_wellington.com>
Date: 2004-01-16 15:44:34 CET

Hamilton,

The features available are pretty much the same as those documented in the
"Advanced Topic"/"Properties" section of the book. How to set the
auto-props is somewhat documented in the "config" file itself, in your user
configuration area.

I've attached my complete relevant section of the config file. You might be
able to follow some of its patterns.

By the way, I think I recently read that these patterns aren't processed
with any sort of precendence order, so ambiguous matches might choose either
pattern. So, if for some weird reason I checked in "Makefile.dsp", it
wouldn't know what would happen.

On your Mac OS X question... I gave up on Steve Jobs years ago when Apple
bought NeXT, so I have no clue. :-)

Pat

### Set enable-auto-props to 'yes' to enable automatic properties
### for 'svn add' and 'svn import', it defaults to 'no'.
### Automatic properties are defined in the section 'auto-props'.
enable-auto-props = yes

### Section for configuring automatic properties.
### The format of the entries is:
### file-name-pattern = propname[=value][;propname[=value]...]
### The file-name-pattern can contain * as wildcard. All entries
### which match will be applied to the file.
[auto-props]
*.c = svn:eol-style=native
*.cpp = svn:eol-style=native
*.css = svn:eol-style=native
*.h = svn:eol-style=native
*.java = svn:eol-style=native
*.launch = svn:eol-style=native
*.mf = svn:eol-style=native
*.prop*s = svn:eol-style=native
*.sh = svn:eol-style=native;svn:executable
*.tmpl = svn:eol-style=native
*.txt = svn:eol-style=native
*.xml = svn:eol-style=native

.classpath = svn:eol-style=native
.project = svn:eol-style=native
.svnignore = svn:eol-style=native

*.dsp = svn:eol-style=CRLF
*.dsw = svn:eol-style=CRLF

*.png = svn:mimetype=image/png
*.jpg = svn:mimetype=image/jpeg

Makefile* = svn:eol-style=native

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 16 15:45:59 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.