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

RE: post-revprop-change Hook Script

From: Paul Koning <pkoning_at_equallogic.com>
Date: 2006-01-27 20:26:51 CET

>>>>> "Noorie" == Noorie Meeran <Meeran> writes:

 Noorie> I only have the #!/usr/local/bin/perl and a print "hello";
 Noorie> statement in the post-revprop-change. When I run it with env
 Noorie> -i ./post-revprop-change , the script executes and hello is
 Noorie> printed to the screen. When I try to commit some file, my
 Noorie> commit fails. Is there any other way to debug this
 Noorie> problem. Is there any error log files or anything that is
 Noorie> created somewhere! help please.

Something doesn't make sense here. A post-xxx script executes after
the commit has already been done. If the commit succeeded, then it
executes, and the commit still succeeds -- the post-xxx script CANNOT
affect the success of the commit.

Conversely, if the commit failed, then the post-xxx script is never
executed in the first place.

Since you're talking about revprops, I would assume that you have a
problem in your pre-revprop-change hook script. Did you create one?
Remember that the default (if there isn't a pre-revprop-change hook
script) is that all revprop changes are rejected.

If you did create a pre-revprop-change script, that's the script you
will have to debug, because that script is probably generating the
error that makes your commit fail.

      paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 27 20:29:24 2006

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.