You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "King, Rogie" <Ro...@carroll.edu> on 2005/12/13 17:00:31 UTC
svn update ONLY on revised dir
I currently have a post-commit script working wonderfully, except that
it is a little slow. I noticed that if I run svn update on the base of
my repo, then it takes much longer than running svn update ONLY in the
directory where there were changes. My goal is to make the post-commit
hook run svn update only in the directory that was changed. Currently,
my script looks like this:
REPOS="$1"
REV="$2"
/usr/local/bin/svn update /usr/home/httpd/domains/www.carroll.edu/site
The REPOS variable holds this:
trunk/prod-site/public_html/athletics/womensbb
I'd like the script to change to something like:
/usr/local/bin/svn update /usr/home/httpd/domains/www.carroll.edu/site/
public_html/athletics/womensbb
Any ideas/help? Has this been done before?
Re: svn update ONLY on revised dir
Posted by Greg Thomas <th...@omc.bt.co.uk>.
On Tue, 13 Dec 2005 10:00:31 -0700, "King, Rogie" <Ro...@carroll.edu>
wrote:
>I currently have a post-commit script working wonderfully, except that
>it is a little slow.
Can you run it asynchronously? i.e. have your post-commit as something
like
#!/bin/sh
./post-commit-real &
Greg
--
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org