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

Re: svn commit: r18050 - trunk/www

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-01-11 06:57:14 CET

>>>>>>Log:
>>>>>>* www/poole-response.html: Set svn:mime-type property to "text/html".
>>>>>
>>>>>It would be nice if our hook scripts did this automatically for
>>>>>commits to the www/ sub-directory of files ending in the regex
>>>>>"\.html(\..+)?".
>>>>
>>>>Hook scripts can't set properties (at least not easily), although they
>>>>could confirm that it's set I suppose...
[...]
> Point taken, dream squashed.

Well, this isn't something that should be happening at commit time anyway. It
should be happening at "svn add" time, or between then and commit, so you've
got a chance to check and correct it. So it should be done by "auto-props",
except that that feature really needs to be activated through inherited
properties or at least repository-distributed configuration rather than through
individual users' local configurations. Or done by "make" or checked by "make
check". I've long thought (and occasionally mentioned) that we could usefully
put a "check-source" stage in "make check", to check things about the source
code like these properties, and whether there are any tab characters in C
files, etc.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 11 06:58:12 2006

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.