You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Peter Davis <pe...@pdavis.cx> on 2002/10/08 12:06:34 UTC
[PROPOSAL] Repository Config for Default Property Values
-----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
Re: [PROPOSAL] Repository Config for Default Property Values
Posted by Ben Collins-Sussman <su...@collab.net>.
Peter Davis <pe...@pdavis.cx> writes:
> 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:
I think we already have an issue somewhere to add a repository-config
area that universally affects client behaviors. This request should
be added to that issue.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org