xml style doesn't generate valid xml
Matt Mackall
mpm at selenic.com
Mon Nov 22 21:24:22 UTC 2010
On Mon, 2010-11-22 at 21:18 +0000, Haszlakiewicz, Eric wrote:
> I'm continuing looking for ways to get structured, parseable data out of mercurial, this time I figured I'd try the xml style (vs. my other email about using a json style).
>
> I noticed that the xml style doesn't work. Specifically, it generates bad output for the "extra" info attached to a changeset if you do:
>
> hg init x && cd x
> echo foo > foo
> hg add foo
> hg ci -u user -m change1 foo
> echo foo >> foo
> hg ci -u user -m change2 foo
> hg up -r0
> echo bar > bar
> hg add bar
> hg ci -u user -m barchange
> hg up -r1
> hg --config "extensions.hgext.transplant=" transplant 2
> hg log --debug --style xml > log.out
> xmllint --noout log.out
Where's the output?
It's great that you've got a nice test script, it's NOT great that you
apparently expect everyone to go to the effort of running it before we
can even begin to think about your issue.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list