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

Strange pre-commit-hook behaviour

From: Boris Stumm <stumm_at_informatik.uni-kl.de>
Date: 2006-05-03 18:14:08 CEST

Hi,

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?

Some System Details:
Suse 9.2, with self-compiled Subversion 1.3.0. Access over https with
Apache.

Thanks for the help,
Boris Stumm

-- 
Dipl. Inf. Boris Stumm, Technische Universität Kaiserslautern
http://wwwhis.informatik.uni-kl.de/aghis/staff/Stumm/
Und für alle, die mir Emails schreiben wollen:
http://learn.to/quote

  • application/pgp-signature attachment: stored
Received on Wed May 3 18:15:43 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.