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

Re: svn log -g --xml doesn't include "Merged via" info

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Mon, 6 Dec 2010 09:48:50 +1000

On Mon, Dec 6, 2010 at 6:52 AM, Stanimir Stamenkov <s7an10_at_netscape.net>wrote:

> Issuing 'svn log -g -q' I get an output like:
>
> ------------------------------------------------------------------------
> r8 | ...
> ------------------------------------------------------------------------
> r7 | ...
> Merged via: r8
> ------------------------------------------------------------------------
> r6 | ...
> Merged via: r8
> ------------------------------------------------------------------------
> r5 | ...
> Merged via: r8
> ------------------------------------------------------------------------
> r4 | ...
> Merged via: r8
> ------------------------------------------------------------------------
> r3 | ...
> ------------------------------------------------------------------------
> r2 | ...
> ------------------------------------------------------------------------
> r1 | ...
> ------------------------------------------------------------------------
>
> However issuing 'svn log -g --xml -q' (even 'svn log -g --xml -v')
> doesn't seem to provide the "Merged via" revision info. Is it
> currently possible to get the additional information from merge
> history using the XML output format?
>

The merged revisions are shown as nested <logentry> elements. For example:

<log>
  <logentry revision="10427">
    <author></author>
    <date>2010-11-19T06:17:01.744981Z</date>
    <msg>Merged r10426 from trunk.</msg>
    <logentry revision="10426">
      <author></author>
      <date>2010-11-19T06:08:13.934595Z</date>
      <msg></msg>
    </logentry>
  </logentry>
</log>

Cheers,
Daniel B.
Received on 2010-12-06 00:49:49 CET

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.