[issue2130] xml output for 'hd heads' is malformed

John Sparrow bugs at mercurial.selenic.com
Thu Apr 8 08:06:42 UTC 2010


New submission from John Sparrow <johnsparrowuk at hotmail.co.uk>:

On v1.5.1 if I do:

hg heads --style xml
 
on my copy of the mecurial repos, I get the output listed below. Notice 2 
xml declarations, 2 opening tags for log, but only one closing tag.
 
 
<?xml version="1.0"?>
<log>
<logentry revision="10790" node="ef3668450cd0075978e2d11ec991aab557d9c59c">
<tag>tip</tag>
<parent revision="10787" node="5974123d03391f40778a6c10ea02eb84d8ff5305" />
<parent revision="10789" node="1b45468d3debdfe66625814939a4bf925d9a4dc8" />
<author email="mpmedit-lenic.com">Matt Mackall</author>
<date>2010-03-30T13:09:25-05:00</date>
<msg xml:space="preserve">Merge with stable</msg>
</logentry>
<?xml version="1.0"?>
<log>
<logentry revision="10789" node="1b45468d3debdfe66625814939a4bf925d9a4dc8">
<branch>stable</branch>
<author email="durin42edit-ail.com">Augie Fackler</author>
<date>2010-03-15T14:53:34-05:00</date>
<msg xml:space="preserve">util.termwidth: check stderr first as it&#39;s 
least likely to be redirected</msg>
</logentry>
</log>

----------
messages: 12239
nosy: johnsparrowuk
priority: bug
status: unread
title: xml output for 'hd heads' is malformed

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2130>
____________________________________________________


More information about the Mercurial-devel mailing list