xml style on hg heads

John Sparrow johnsparrowuk at hotmail.co.uk
Wed Apr 7 11:14:45 CDT 2010


Is the xml style broken on 'hg heads'? eg if I do (on hg 1.5.1):

 

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.

 

I thought my xml parser was going crazy!

 

 

<?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>

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20100407/e10ef7bc/attachment.htm>


More information about the Mercurial mailing list