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

Re: Using subversion for web development

From: Robert Dailey <rcdailey_at_gmail.com>
Date: Wed, 20 Aug 2008 09:32:38 -0500

On Tue, Aug 19, 2008 at 7:09 PM, Ryan Schmidt <
subversion-2008c_at_ryandesign.com> wrote:

> There's not much to it. Assuming you have already checked out a working
> copy to /path/to/workingcopy, you probably don't need much more than this in
> your post-commit hook:
> #!/bin/sh
> /usr/local/bin/svn update --non-interactive /path/to/workingcopy

Thanks for your help. This seems to work. However, for newly added files
when an update occurs on my server, I need to set the group for those files
(chown) and also need to set the permissions of those files (chmod). Is
there a way of getting a list of all newly added files from subversion in
the post-commit script? Or am I stuck with just blindly doing a "chmod -R"
on the entire working copy every time an update occurs?
Received on 2008-08-20 16:33:07 CEST

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.