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

Re: pre-commit example

From: Andreas Schweigstill <andreas_at_schweigstill.de>
Date: Thu, 08 Jan 2009 13:59:55 +0100


Ilan Yaniv schrieb:
> If the hook will find that there is a file like that, it will be removed
> from the commit, so the commit will complete, but without that file.

No, this isn't possible, and it is also very bad practice to allow the
server to modify a commit.

A precommit hook can be used to refuse the complete commit and send a
message to the user which explains the reasons for the failed commit.

With best regards
Andreas Schweigstill

Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstra├če 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-08 14:19:08 CET

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.