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

RE: setting svn:keywords globally

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-03-22 15:33:29 CET

On Mon, 2004-03-22 at 08:21, Jay Glanville wrote:
> her.
>
> Question one: Can someone provide some examples for auto-props?

The 'config' file *does* have examples of auto-props, especially in svn
1.0. Your problem must be that you have a very old config file lying
around from an early version of svn. Here's the relevant section:

### Section for configuring miscelleneous Subversion options.
# [miscellany]
### 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 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.
# [auto-props]
# *.c = svn:eol-style=native
# *.cpp = svn:eol-style=native
# *.h = svn:eol-style=native
# *.dsp = svn:eol-style=CRLF
# *.dsw = svn:eol-style=CRLF
# *.sh = svn:eol-style=native;svn:executable
# *.txt = svn:eol-style=native
# *.png = svn:mime-type=image/png
# *.jpg = svn:mime-type=image/jpeg
# Makefile = svn:eol-style=native

>
> Question two: can auto-props be configured on a repository level? For
> example, can I put a config file in [repository]/conf that contains
> auto-props information?

Nope, that feature doesn't yet exist.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 22 15:35:13 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.