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

RE: Subversion, PHP and Web development

From: Federico Edelman <fedelman_at_claxson.com>
Date: 2004-02-23 23:05:47 CET

I read svnbook :) But, is it possible to mount read-only thru
mount.davfs a SNV repository for this case?

What do you think?

Thanks in advance,

> -----Mensaje original-----
> De: Ben Collins-Sussman [mailto:sussman@collab.net]
> Enviado el: Lunes, 23 de Febrero de 2004 03:19 p.m.
> Para: Federico Edelman
> CC: users@subversion.tigris.org
> Asunto: Re: Subversion, PHP and Web development
> On Mon, 2004-02-23 at 12:16, Federico Edelman wrote:
> > I need resolve the 4th point. I think that I could use a
> > into "post-commit" stage that it runs a "svn checkout" into the
> > "DocumentRoot path" of the Web Site.
> > Am I right or what's the way to resolve them?
> Sure, that's a fine technique. I keep my own website in a subversion
> repository, and my actual 'live' website (~sussman/public_html/) is
> a regular working copy. I have a post-commit hook which updates the
> working copy.
> A word of warning, though: many unixes won't let you 'chmod +s' a
> script, which is necessary if I want the post-commit hook script to
> as user 'sussman'. So instead, my post-commit hook is a tiny C
> with +s :
> #include <stdlib.h>
> int main(int argc, const char *argv[])
> {
> system("/usr/local/bin/svn update /home/sussman/public_html");
> }

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 23 23:08: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.