[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 revision directory

From: King, Rogie <RoKing_at_carroll.edu>
Date: 2005-12-12 22:34:22 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:





/usr/local/bin/svn update /usr/home/httpd/domains/www.carroll.edu/site


The REPOS variable holds this:




I'd like the script to change to something like:


/usr/local/bin/svn update /usr/home/httpd/domains/www.carroll.edu/site/


Any ideas/help? Has this been done before?



Received on Mon Dec 12 22:38:15 2005

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