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

Post-Commit help

From: James O'Reilly <james_at_synergymedia.net>
Date: Thu, 31 Jul 2008 11:33:09 -0400

Hi everyone, new to the list. I've been banging my head against the
wall for the last couple of days on a Windows post-script I'm trying to
write and I'm not getting anywhere with it. Maybe someone on the list
will be kind enough to help me.

Quick explaination...
I have 4 developers working off local working copies of a website, each
updating and committing revisions to a repository I set up on the
network. The developers are working in VisualStudio 2008 with the
VisualSVN plugin and no problems.

What I have working...
I have a super simple post-commit script that updates a 5th working copy
of the repo on the internal development webserver which is what I have
IIS using as a webroot folder. When a developer commits, the webroot
gets the update and they can test their changes.

My post-commit.bat file:
C:\Progra~1\Visual~1\bin\svn update
"\\ServerName\clients\ClientName\wwwroot"

My problem...
Because we're using a few frameworks the site we are building contains
roughly 2200 files. So when we do a commit, the post-commit script
takes a short while to run updating the webroot. This is a bit annoying
for the developers.

My solution attempt...
I read about SVNLOOK and figured it might hold some power to reduce the
update to only be the changes commited. I failed miserably at
implementing it because of my lack of batch file syntax.

Questions...
1. Is there an easier way to do what I'm doing or am I on the right
track? It does seem to work, albeit slow.
2. Can someone write me a post-commit.bat file that does what I'm trying
to do? I'm looking for a script that is a BAT file. I can install grep
if needed for the SVNLOOK.

Thanks in advance,
James

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-31 21:48:43 CEST

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.