Re: how to add $Id$ automatically
From: Sohail Somani <sohail_at_taggedtype.net>
Date: 2007-11-20 09:13:00 CET
On Tue, 20 Nov 2007 13:32:57 +0530, p karthik wrote:
> My query is, can we add this $Id$ through any pre/post commit hook
No, you should not modify the checkin on the server in a pre-commit hook.
For example, for C++ files:
for file in `find . -iname "*.cpp"`; do echo "// $Id$" >> ${file}; done;
Would do the job without changing the binaries one bit (for any sensible
-- Sohail Somani http://uint32t.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Tue Nov 20 09:15:26 2007 |
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.