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

Re: [PATCH] Allow more than one pattern per line in svn:ignore

From: Edmund Horner <edmund_at_chrysophylax.cjb.net>
Date: 2003-12-11 05:08:28 CET

> AFAICS the auto-props feature (for files) doesn't yet handle quoting or
> escaping, though I guess the only characters you can't have in your
> auto-props are newline and semi-colon. Is it worth adding it?

In fact, for the sake of madness, I've contrived an example:

Let's add a new property for directories, called svn:auto-props. The
contents of this property are treated as auto-prop entries for any files
added to that directory.

Now lets allow directory auto-props. Then, into config, we add:

[dir-auto-props]
*-src = svn:auto-props="*.c = svn:eol-style=native; svn:mime-type: text/c"

So when we add a directory widget-src, it gets the property
svn:auto-props=*.c = svn:eol-style=native; svn:mime-type: text/c

And then when we add widget-src/xyz.c, it gets the svn:eol-style property.

The main problems with this idea are:
1. it's madness!
2. we need to invent some way of nesting expressions.

Edmund.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 11 05:10:20 2003

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.