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

Re: How to print out only the most recent log message for each file in a project?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 5 Sep 2008 13:59:06 -0400

On Thu, Sep 4, 2008 at 15:19, Kenneth McDonald
<kenneth.m.mcdonald_at_sbcglobal.net> wrote:
> If I do 'svn log HEAD', I only get the log message for the most recent
> commit. I'd like something like an option to 'svn status' that prints log
> messages, but it doesn't seem to exist. Is it possible to do what I want?

Revisions are global to the repository, not unique to each file. So,
to get the log message associated with the revision where each file
was last changed, you'll need to script:

For each file, run svn info
Parse the output to get the last changed rev
Run svn log -r <rev> <filename>

Or something close to that.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-05 19:59:28 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.