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

Re: Adding log message to the "header"

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-08-07 17:28:48 CEST

On 8/7/06, Anastasios Angelidis <voodoo@videotron.ca> wrote:
> I assume using a custom keyword and a post commit hook I can add the log
> message to the "header" just like the Author, Date and Revision?

Well, I suppose you could, if you made sure that the post-commit hook
did a separate commit to add the log info, and didn't trigger on
commits that it generated, and dealt with conflicts, and about a
million other things...

But it's not going ot be a trivial thing to implement. And you
absolutely can't do it as part of a commit (modifying the transaction
before it's committed) because that's a great way to get corrupted
working copies due to them being out of sync with the repository.

As for why Subversion doesn't support the $Log$ keyword by default,
see http://subversion.tigris.org/faq.html#log-in-source for details
why.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 7 17:35:37 2006

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.