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

Re: Strange pre-commit-hook behaviour

From: Rainer Sokoll <R.Sokoll_at_intershop.de>
Date: 2006-05-03 20:20:06 CEST

On Wed, May 03, 2006 at 06:14:08PM +0200, Boris Stumm wrote:

> I get some strange behaviour of the pre-commit hook.
> After trying out some things, I am finally there:
> ----------
> #!/bin/bash
> echo "foo" >> /tmp/test
> exit 1
> echo "bar" >> /tmp/test
> ----------
> results in only "foo" getting into the test file. That means,
> the hook gets executed and in theory, all is fine.
> But the commit is not rejected. Either I am making some really dumb
> mistake (which I hope in this case), or there is something really wrong
> here. Anyone has an idea?

Is it really pre-commit, not post-commit?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 3 20:21:12 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.