Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2009 22:29:03 +0300
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        John Nielsen <lists@jnielsen.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: CVS history access?
Message-ID:  <87vdophp4w.fsf@kobe.laptop>
In-Reply-To: <200904271503.30531.lists@jnielsen.net> (John Nielsen's message of "Mon, 27 Apr 2009 15:03:30 -0400")
References:  <200904240535.37460.lists@jnielsen.net> <200904271123.32647.lists@jnielsen.net> <87ws963vae.fsf@kobe.laptop> <200904271503.30531.lists@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Apr 2009 15:03:30 -0400, John Nielsen <lists@jnielsen.net> wrote:
> I installed the subversion-freebsd port and pulled in "src" from "head".
> This lets me do e.g. "svn log -g --xml" locally and get an XML list of
> commits along the main (head/current) development line going back to
> 1993.
>
> For files changed with each revision I can do "svn diff -c
> NUM --summarize". Is there a way to get this information integrated with
> the "svn log" output short of running the command for each revision in
> the log output?

It's already part of 'svn log --xml' output if you use the -v option.
When you use -v *and* --xml at the same time, an additional element is
inserted to each changeset listing all the path changes:

  $ svn log -v --xml -c 191585 file:///home/svn/base
  <?xml version="1.0"?>
  <log>
  <logentry
     revision="191585">
  <author>rpaulo</author>
  <date>2009-04-27T18:59:40.453027Z</date>
% <paths>
% <path
%    kind=""
%    action="M">/projects/mesh11s/sys/net80211/ieee80211_output.c</path>
% </paths>
  <msg>Append Mesh Configuration IE on probe responses and beacons.

  Sponsored by:   The FreeBSD Foundation
  </msg>
  </logentry>
  </log>

I think the <paths> list of path changes is what you are after :)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87vdophp4w.fsf>