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