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

Re: auto-props bug?

From: John Szakmeister <john_at_szakmeister.net>
Date: 2004-10-21 11:47:55 CEST

On Tuesday 19 October 2004 15:18, Glenn Hochberg wrote:
> I think I discovered a bug in how svn parses the config files.
>
> I found that certain file types were not getting their auto-properties
> set when svn add'ed, while others were.
>
> The culprit turned out to be this line in my ~/.subversion/config file
> in the [auto-props] section:
>
> [mM]akefile = svn:eol-style=native;svn:keywords=Id
>
> All of the file types from this line down were not getting recognized.
> I worked around this by turning this one line into two--one for
> "Makefile" and one for "makefile".
>
> I suspect the problem is that the line begins with "[mM]" and svn is
> interpreting this as a new section name, even though this is a valid
> shell pattern and should be legal according to the description of
> auto-props in the SVN book.
[snip]

Actually, the book says nothing about supporting a regexp here... although
it doesn't necessarily dissuade you from that either.

IIRC, the config file can only do globbing expansions. You're going to
need 2 lines for the Makefile. :-(

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 21 11:48:19 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.