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

Re: Post-commit hook for a project (sub directory)?

From: Matt Sickler <crazyfordynamite_at_gmail.com>
Date: 2007-08-22 06:14:21 CEST

Assuming that the repo is at /path/to/repo (ie, you did svnadmin
create /path/to/repo)
Then, the post-commit hook is run once for the entire repository.
That doesn't stop you from using svnlook to find out what paths were
changed and update the right WCs accordingly. Or just update them all
on each commit.

On 8/21/07, Simon <greminn@gmail.com> wrote:
> Hi There,
>
> Excuse me if i have the terminology incorrect... we have setup
> subversion 1.4.2 and it is working well for our small development test
> projects. We have a a couple of projects:
>
> /path/to/repo/project1
> /path/to/repo/project2
>
> Our users are checking out each project individually. Our development
> web server also has a checked out version of each project:
>
> svn checkout http://svn/repo/project1 /var/www/www.project1.com
> svn checkout http://svn/repo/project2 /var/www/www.project2.com
>
> My question is, is there a way to create a post-commit hook to "svn
> update" on each project instead of all the repo? Or is that how it
> works anyway? Or have i really done it the wrong way?
>
> Thanks
>
> Simon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 22 06:12:03 2007

This is an archived mail posted to the Subversion Users mailing list.