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

Re: post-commit bat file for updates

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-12-14 17:52:29 CET

Steffan Haeberle wrote:

> I cannot find an example of how to update a working copy using svn
> update after each commit. We have 4 programmers all working from the
> same networked share and we each have to update our changes separately
> to a dev copy of our site. Since we are on windows, I cant find an
> example of how to force the updates to the dev directory using
> post-commit.bat. Any help would be appreciated. Thanks.

You don't tell us what your problem is. What's the content of your
post-commit.bat file now? Do you get any errors after a commit?

Copy this into your post-commit.bat: it works for me, so you can use it
as a starting point.

----
echo commit happened. So update the dev directory
svn update d:\test2\hooktestupdate > d:\test2\log.txt
pause
exit 0
----
Stefan
-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
--
Received on Wed Dec 14 17:02:32 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.