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

Re: new experimental branch: dir-auto-props (issue 1989)

From: Michael Sinz <michael.sinz_at_gmail.com>
Date: 2005-03-23 21:11:43 CET

On Wed, 23 Mar 2005 07:53:35 +0100, Ph. Marek <philipp.marek@bmlv.gv.at> wrote:
> On Tuesday 22 March 2005 16:20, Philip Martin wrote:
> > Julian Foad <julianfoad@btopenworld.com> writes:
[...]
> > I'm not sure what to do to make svn:ignore work, a parser change,
> > different properties, some sort of newline escaping, etc. but I think
> > providing directory auto-props without proper svn:ignore support is a
> > bit of a mistake.
> Well, there you're right. That might be a problem.
> I'll have a look at the code and post my comments.
>
> First thoughts: how about having multiple matching properties in [auto-props]
> concatenated?
> Example:
> [dir-auto-props]
> * = svn:ignore=*.o
> * = svn:ignore=*.tmp
> * = svn:ignore=*~
> That's not the most prettiest thing, but could be handy for other properties
> too.

I actually like the concat feature as it would make things that deal with many
different properties easier to write (not as long a line)

The question I would have is how this works with respect to local vs system
configuration files. /etc/subversion/config and ~/.subversion/config - To me
this gets confusing really fast unless you have some way to signify a replace
vs concat behavior. (Oh, and which is the behavior of "="?)

> How about the easy solution - make \r, \n, and maybe \x??, \??? available? Do
> we fear that such things are already used in some config file? If not, that's
> an easy first solution. (But what about unicode characters? Do we need them
> here??)

Ugh - forcing the user to separate the different files in the
svn:include by "\n" or
some such is a bit crufty.

And unicode does make this all the more crufty.

-- 
Michael Sinz               Technology and Engineering Director/Consultant
"Starting Startups"                          mailto:Michael.Sinz@sinz.org
My place on the web                      http://www.sinz.org/Michael.Sinz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 24 15:56:28 2005

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.