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

Re: pls guid me to display the log message with file content

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-09-11 16:06:34 CEST

On Sun, 2005-09-11 at 19:13 +0530, sankar ganesh wrote:
> I want to display the log message in file content
>
> svn:keywords don't have option to include log message as we are
> inclding id,author,date etc…
>
> pls guid..

This does not exist in subversion:
        http://subversion.tigris.org/faq.html#log-in-source

You could try this TERRIBLE, UGLY, HACK though:

echo /** LOG >> file.c
svn log file.c >> file.c
echo */ >> file.c

But then you would likely commit those appended changes, and that would
be very bad. Be careful about the above suggestion.

I wouldn't do it.

Cheers,
Chris

-- 
PGP Public Key: http://www.nesser.org/pgp-key/
10:02:21 up 1:45, 5 users, load average: 1.01, 1.32, 0.98

Received on Sun Sep 11 16:19:52 2005

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.