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

Re: Projects?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-10-22 02:10:27 CEST

Robert Spier wrote:

>>Is is really a bad idea to be able to put a keyword entry in a file
>>that is a file-relative change count?
>
>
> If all you want is a keyword, then I'm pretty sure you can do that
> right now with a commit hook script.

Actually, changing a file in a commit hook script (which you would need
to do to implement a keyword replacement type thing) is a /really bad
idea/, and would break many things. The client's working copy would
become out of date compared to the version of the file in the
repository, and there is no way for the change to get sent back to the
client. I believe there are some warnings to this effect in the pre
commit hook template.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 22 02:11:08 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.