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

Precommit hook absent from subversion

From: ExtraPic <extrapic_at_extrapic.com>
Date: Tue, 08 Jul 2008 09:10:53 +0100

I am well aware that subversion offers a so called precommit hook, as
well as others. But this not what I have always meant by precommit or
what CVS offers us.

I want the ability to abort a svn checkin before the user is asked
for a commit message, based on information available. We have always
done this in CVS to the extent that in our (probably wrong)
thinking pre means pre edit, and post means post edit of the commit
message. I am not of course concerned with terminology, call it what you
like that is not the point of this email.

Why is this important? Because a good commit message represents a fair
bit of work for a developer. Its really tempting not to spend that
effort, and just make a message that says "issue fixed" or suchlike. I
want to help our developers as much as possible, by rejecting the
checkin before the editor comes up so far as I am able, to spare him/her
from that effort and then be confronted with the fact that they are
commiting to the wrong branch or need authorisation privileges. I want
that to never happen! And yes, I know you can re-use the same message,
but often people do not know or do this.

I am not of course asking that subversion write the hook for me. What I
am asking for is that subversion provide me a hook with as much
information as possible, (meta data, username filepath is the type of
thing I might need, all the usual stuff) so that I can do this. Thats
what hooks are for.

At the moment it seems to me that you cannot do this in subversion at
all. Its a simple thing to ask for. Or did I miss something?

Does anyone agree this should go in the bugtracker as a feature
request?

Mark Winder

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-08 19:40:01 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.