Return-Path:
X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org
Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id CFC6E9EFC
for ;
Tue, 10 Apr 2012 05:52:07 +0000 (UTC)
Received: (qmail 89941 invoked by uid 500); 10 Apr 2012 05:52:07 -0000
Delivered-To: apmail-subversion-commits-archive@subversion.apache.org
Received: (qmail 89834 invoked by uid 500); 10 Apr 2012 05:52:06 -0000
Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@subversion.apache.org
Delivered-To: mailing list commits@subversion.apache.org
Received: (qmail 89821 invoked by uid 99); 10 Apr 2012 05:52:05 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 05:52:05 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=5.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 05:52:04 +0000
Received: from eris.apache.org (localhost [127.0.0.1])
by eris.apache.org (Postfix) with ESMTP id 70AEA2388860;
Tue, 10 Apr 2012 05:51:44 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r1311580 -
/subversion/site/publish/docs/release-notes/1.8.html
Date: Tue, 10 Apr 2012 05:51:44 -0000
To: commits@subversion.apache.org
From: danielsh@apache.org
X-Mailer: svnmailer-1.0.8-patched
Message-Id: <20120410055144.70AEA2388860@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: danielsh
Date: Tue Apr 10 05:51:44 2012
New Revision: 1311580
URL: http://svn.apache.org/viewvc?rev=1311580&view=rev
Log:
* docs/release-notes/1.8.html
(hooks-post-commit): Add a concrete use-case.
(There should be one or two others on users@ archives.)
Modified:
subversion/site/publish/docs/release-notes/1.8.html
Modified: subversion/site/publish/docs/release-notes/1.8.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/docs/release-notes/1.8.html?rev=1311580&r1=1311579&r2=1311580&view=diff
==============================================================================
--- subversion/site/publish/docs/release-notes/1.8.html (original)
+++ subversion/site/publish/docs/release-notes/1.8.html Tue Apr 10 05:51:44 2012
@@ -478,10 +478,14 @@ hook; it is the same as the second posit
pre-commit, and thus enables the pre-commit and
post-commit hooks to easily transfer state between them.
-For example, if the pre-commit hook makes an expensive computation
+
Generically, if the pre-commit hook makes an expensive computation
against the would-be-revision, it can store the result of that computation in a
persistent hash keyed by the transaction name, which the post-commit
-hook will use to avoid re-doing the computation.
+hook will use to avoid re-doing the computation. One concrete usage of this
+would be to implement a pre-commit hook that tests compilability only, while
+a post-commit hook or a continuous integration tool runs more thorough tests
+--- on the binaries built at pre-commit, without having to rebuild them
+itself.