On Tue, Jan 20, 2009 at 11:00 PM, <[email protected]> wrote: > > Hi, > > I wonder if someone can help me getting a very simple post commit > script working. At the moment I've added a simple post commit hook to > run an svn update on a local folder, but the update just doesn't > happen. > > I put the following in a batch file (c:\update-dev.bat): > > c:\visualsvn\bin\svn.exe update c:\inetpub\dev > > (I've previously checked out to c:\inetpub\dev) and then call the > above batch file from post-commit.cmd and send the output to a text > file to see what was going on. The contents of post-commit.cmd is: > > c:\update-dev.bat > c:\update_log.txt You have to redirect stderr instead of stdout to see svn.exe errors. To do this please use following command: c:\update-dev.bat 2> c:\update_log.txt
-- Ivan Zhakov VisualSVN Team

