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

Re: [svn] viewing of html files via browser

From: Mark Reibert <svn_at_reibert.com>
Date: 2007-08-30 06:14:23 CEST

On Thu, 2007-08-30 at 11:57 +0800, Mike A. wrote:
> Thanks Mark, but is there any other way I can set it in each
> repository in the server so that I don't need to ask every user.

Unfortunately, not at this time. Repository-defined autoprops are listed
as a medium-term goal on the Subversion roadmap
(http://subversion.tigris.org/roadmap.html), but they do not yet exist.

If your user base is small enough you could distribute a common SVN
client configuration file that contains the autoprops you want. I have
done this for past small groups, going so far as to wrap it up in an
installer for the Windows clients. If your user base is large then I am
afraid there is no good answer.

> Maybe we can do it in hooks but I'm not that familiar with setting up
> hooks yet :)

This would not be advisable as there are subtle but important reasons to
not modify a transaction in a pre-commit hook. Check out the link below
and scroll down to the pink warning box.

http://svnbook.red-bean.com/en/1.4/svn.reposadmin.create.html#svn.reposadmin.create.hooks

-- 
----------------------
Mark S. Reibert, Ph.D.
svn@reibert.com
----------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 30 06:12:19 2007

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.