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

RE: SVN Hook specifically for Trunk Question

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2006-07-12 03:18:32 CEST

Quoth Robert Sandie <mailto:sandieman@gmail.com>:
> Very basic.. I know, I know!
> Am trying to hook the trunk instead of the entire source repository.
> Currently in post-commit:
> svn update /var/httpd/
> How would I change it to just transfer over the /trunk/
> directory and make that the /var/httpd/ directory?

You just need to make sure that whatever you had checked out to the
/var/httpd folder in the first place was the correct path.

Don't forget to make sure your server won't serve anything from the .svn
folders, though, otherwise you'll have a security hole. If you want to
be safe, then you should export to the folder rather than checking out
(but then you won't be able to update later, so your post-commits will
take longer). You could svn export to a third folder and then sync that
to /var/httpd....

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 12 03:19:47 2006

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.