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

Re: Help with checkin hook

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 13 Aug 2008 07:04:01 -0400

On Wed, Aug 13, 2008 at 06:33, James Green <James.Green_at_occam-dm.com> wrote:
>> You should not modify the contents of a commit via hook. By doing so,
>> the committer's working copy is immediately rendered out of date. This
>> has been rehashed a lot on this mailing list.
>> Last Revision date/time/revision number is already available via
>> keywords. See
>> http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.
>> keywords.html
>> "History" will not be made available as an SVN keyword ever, most
>> likely. See http://subversion.tigris.org/faq.html#log-in-source
> That's great info, thanks Andy.
> Having looked into configuring this today it seems the only way to
> switch this keyword substitution on is by setting these on a file by
> file basis in each repository.
> Is that correct?

Yes. Keyword expansion is triggered by the svn:keywords property on each file.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-13 13:04:29 CEST

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.