Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id j0JGG0U4028797 for ; Wed, 19 Jan 2005 16:16:00 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id 8EDDE77220 for ; Wed, 19 Jan 2005 16:16:21 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrIhG-0003nU-NP for migo@homemail.com; Wed, 19 Jan 2005 11:28:42 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CrIgH-0003Zx-3N for gnu-arch-users@gnu.org; Wed, 19 Jan 2005 11:27:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CrIgF-0003ZC-MM for gnu-arch-users@gnu.org; Wed, 19 Jan 2005 11:27:40 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrIgE-0003Xc-Rd for gnu-arch-users@gnu.org; Wed, 19 Jan 2005 11:27:39 -0500 Received: from [128.255.17.47] (helo=server07.icaen.uiowa.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CrITX-0000P2-Jz for gnu-arch-users@gnu.org; Wed, 19 Jan 2005 11:14:31 -0500 Received: from server11.icaen.uiowa.edu (server11.icaen.uiowa.edu [128.255.17.51]) by server07.icaen.uiowa.edu (8.13.2/8.12.9) with ESMTP id j0JGBuJf015099; (envelope-from ) Wed, 19 Jan 2005 10:11:56 -0600 (CST) Received: from [10.0.0.19] ([64.241.37.140]) (authenticated user=jfmeinel) by server11.icaen.uiowa.edu (8.13.2/smtp-serv-1.7) with ESMTP id j0JGBkAp027212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256); (envelope-from ) Wed, 19 Jan 2005 10:11:55 -0600 (CST) Message-ID: <41EE86C7.8020409@arbash-meinel.com> Date: Wed, 19 Jan 2005 10:11:51 -0600 From: John Arbash Meinel User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthieu Moy Subject: Re: [Gnu-arch-users] Re: Keyword substitution, How can I automatically add version to file? References: <20050118203950.GA14564@cesta> In-Reply-To: X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: ClamAV 0.80/640/Thu Dec 23 12:48:27 2004 clamav-milter version 0.80j on clamav.icaen.uiowa.edu X-Virus-Scanned: ClamAV 0.80/655/Fri Jan 7 07:54:13 2005, clamav-milter version 0.75 on clamav.icaen.uiowa.edu X-Virus-Status: Clean X-Virus-Status: Clean Cc: Juraj Kubelka , gnu-arch-users@gnu.org X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1214298617==" Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 2080 Lines: 73 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1214298617== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig20C29E6CCB0E6A84F6EC1D0F" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig20C29E6CCB0E6A84F6EC1D0F Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Matthieu Moy wrote: >Juraj Kubelka writes: > > > >>But how? When `$1 == commit' it is too late for updating >>and when `$1 == precommit' it hasn't any effect. >> >> > >Yes, because the changeset to be uploaded is already computed. There >was some discussions here about adding a preprecommit hook. I don't >remember the conclusion. > >A solution would be to use a wrapper script to commit. > > Tom agreed that it made sense to add. As long as there are clearly defined points for adding hooks, and they are only added after requested (instead of in advance), then it is fine. They have not been added yet, but they have been "accepted". I second the build-script generating a version file, though. John =:-> --------------enig20C29E6CCB0E6A84F6EC1D0F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7obHJdeBCYSNAAMRAof5AJ4+gWgpzEsmr7fI0qRUS+ewSxSaFgCcDWEg YZ5m03OHCvybbhH4okdPA4I= =eDsF -----END PGP SIGNATURE----- --------------enig20C29E6CCB0E6A84F6EC1D0F-- --===============1214298617== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/ --===============1214298617==--