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

Re: How to get Log messages into sourcefiles (like CVS $Log$)

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-15 17:45:50 CEST

On Wed, 2004-07-14 at 19:15, Moretti, Giovanni wrote:
> Subversion doesn't support the $Log$ keyword, but I quite like having
> the comment trail provided by my commit log entries appended as comments
> at the bottom of source code files - $Id$ at the top, $Log$ at the
> bottom.
> Obviously you'd only want Log entries for commits for those revisions in
> which particular file changed, not all repository commits ...
> Any suggestions?

Run 'svn log foo.c >> foo.c' ?? Seriously, one of the reasons svn has
no $Log$ keyword because it's so ridiculously easy to get the log of a
file with the 'svn log' command.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 15 17:48:17 2004

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.