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

Pre commit hook being ignored

From: Purple Streak <mrpurplestreak_at_googlemail.com>
Date: Wed, 23 Sep 2009 17:36:20 +0100

Hi,
Just come across a wierd one. We have a pre-commit hook that checks
the length of the log message and fails the commit if it's length is
less than 5 characters. This works when I'm going from the command
line or Tortoise, i.e. checkin with comment of "oops" gets failed.
However I also have AnkhSVN in visual studio and this managed to
commit ok.

This was in the same working copy and I tried a couple more just to
confirm. This was running against the svn:// protocol, so it would
seem svnserve doesn't run the hook and fail the commit when the
request comes from AnkhSVN.

How can that be?

Purple

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2398977

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-23 18:37:11 CEST

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.