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

svn update ONLY on revised dir

From: King, Rogie <RoKing_at_carroll.edu>
Date: 2005-12-13 18:00:31 CET

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?

 

 
Received on Tue Dec 13 19:01:18 2005

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.