Why do you need well-formed XML when both stderr and $? indicate an
error condition?

Steven R. Loomis wrote on Tue, Jan 17, 2012 at 15:21:10 -0800:
> svn info --xml gives malformed XML on error.. could it detect this
> situation and still cleanup the XML, or not output any XML at all?
> svnversion by comparison outputs 'exported'.
> 
> -s
> 
> $ svn info --xml /tmp
> <?xml version="1.0" encoding="UTF-8"?>
> <info>
> svn: E155007: '/tmp' is not a working copy
> $ svn --version
> svn, version 1.7.2 (r1207936)
>    compiled Dec  2 2011, 15:21:13
> 
> 
> 

Reply via email to