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

Re: post-commit in Windows

From: <kfogel_at_collab.net>
Date: 2004-04-15 17:38:26 CEST

Tom Opgenorth <tom@opgenorth.net> writes:
> The $Rev parameter that you see in post-commit.tmpl is the revision
> number that was just commited. Every time a commit happesn, your
> post-commit.bat will be called something like this:
> post-commit.bat c:/svnrepo 200
> Right now, my post-bat looks like (pretty simple):
> ShadowCommit.exe %1 %2
> ShadowCommit.exe is a program of my own. It expects on the command
> line the directory that the repository (%1) is in, and and the
> revision number (%2).

Ykonuslu, note that $1 is Unix-speak for %1 in Windows/DOS. It's the
same idea, just $ instead of %.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 15 18:53:30 2004

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.