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

Re: passing cmd-line params from svn commit to post-commit script

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-06-27 11:33:48 CEST

Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> writes:
> Is there any way that I can pass from the "svn commit" command line some
> command-line arguments to the post-commit hook script? (This would be
> extremely useful for some types of workflows involving post-commit
> activity.)

Unfortunately no. You could use some kind of workaround in which you
set properties on the files being committed -- the pre- and
post-commit hooks can certainly examine properties. But there's no
facility for passing the hooks arbitrary data outside of what's being
committed.

If you describe your workflows in more detail, we may be able to
figure out a solution that will work.

-Karl

-- 
Subversion support & consulting  <>  http://producingoss.com/consulting.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 27 11:34:05 2007

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