[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: Boris Stumm <stummb_at_gmx.net>
Date: 2006-05-03 22:29:52 CEST

Am Mittwoch, 3. Mai 2006 20:20 schrieb Rainer Sokoll:
> 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?

yes.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 5 16:19:30 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.