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

[PROPOSAL] Repository Config for Default Property Values

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-10-08 14:06:34 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 08 October 2002 02:54, Gerald Richter wrote:
> Is this possible somwhow?

If not, it should be. The same should be allowed for svn:keywords, or any
other property. When the global-repository-config stuff gets done, maybe
there could be a config file to configure properties based on filename
patterns:

*.java svn:keywords="Author Rev URL" svn:eol-style=native
*.sh svn:executable
*.png svn:mime-type=image/png
*.jpg svn:mime-type=image/jpeg
/foo/bar-*.xml svn:mime-type="text/xml;encoding=BIG5"

Syntax:
pattern property[=value] property[=value]...

Any of [pattern], [property], and [value] should be able to be surrounded by
quotes (single or double), and standard C escape sequences should apply (for
properties which would require "\n"). The "=" and value should be optional,
in case a property like svn:executable does not require a value.

This should definitely allow any property to be set. In addition to keywords
and eol-style, a repository-wide list of mime-type types would be a *very*
useful feature. Hopefully Subversion could even include a list of sane
defaults, installed optionally of course.

Is something like this already in consideration?

- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ospKhDAgUT1yirARAjB+AJ9UiZk237CxiYw2R/Q+FAfeaWYKwACfbjs/
Xn9W6hAcHV3xPn0OTrwpHag=
=Hbjv
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 8 14:07:16 2002

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

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