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

Re: how to add $Id$ automatically

From: Sohail Somani <sohail_at_taggedtype.net>
Date: 2007-11-20 18:22:40 CET

On Tue, 20 Nov 2007 21:15:29 +0530, p karthik wrote:

> Hi Everybody,
>
> Just a simple question....Is there a way that the pre/post commit script
> can make a modification to a committed file?

I've thought I had to do this in the past. Turns out Subversion is right
in strongly suggesting you shouldn't change in pre-commit. What I ended
up doing though was having a pre-commit that made sure the thing I was
going to add was there and failing the checkin if it wasn't. I would
suggest you do the same thing.

-- 
Sohail Somani
http://uint32t.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 20 18:39:03 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.