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

Re: svn update in post-commit hook

From: Paul Koning <pkoning_at_equallogic.com>
Date: 2005-11-08 21:30:21 CET

>>>>> "Rob" == Rob Brandt <bronto@csd-bes.net> writes:

 Rob> Ok.... I've used regular svn URLs to view the most recent
 Rob> files. I was already configured for that. My files are php;
 Rob> they are displayed as text rather than interpretted as php. In
 Rob> fact, even my plain html files are displayed as text. Are we
 Rob> talking about different things here?

 Rob> I'm using v.1.1 BTW.

I don't know if V1.1 makes any difference; I'm using V1.2.3.

The answer is that you have to set the svn:mime-type attribute. I use
an auto-props section in the svn client config file for that, and I
also set up mime types in the conversion from CVS.

With that done, you'll get the expected behavior out of Apache (i.e.,
web content acts as what you'd expect it to, not as plain text).

    paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 8 21:37:23 2005

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.