On Aug 23, 2010, at 10:41, david rene comba lareu wrote: > i'm using subversion to update a web server that host 20-30 sites. basically > i have users and when the commit is done, the post-commit hook make a svn > update. the problem is that there are a lot of files, and take too much time > to do it. > > so, my idea was to get in some way a list of files that has been commited, > parse the directories and make a svn update in each directory with a binary > made in C (as the subversion documentation say) > > any hint how i can make this?
"svnlook dirs-changed" gives you the list of directories where the commit changed files. That's what we used to do something similar. We used a shell script, not a C binary.