You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Anastasios Angelidis <vo...@videotron.ca> on 2006/08/07 15:17:11 UTC

Adding log message to the "header"

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?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Adding log message to the "header"

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 7, 2006, at 17:17, Anastasios Angelidis 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?

Nope; read the FAQ:

http://subversion.tigris.org/faq.html#log-in-source



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Adding log message to the "header"

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 8/7/06, Anastasios Angelidis <vo...@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