[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: XML output incomplet for -status

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-26 09:37:47 CET

On Feb 25, 2007, at 16:07, vcf wrote:

> I not sure to post in good place.. so sorry if.

Hi. No worries: this is a great place to post your question.

> I have a strange reponse from svn for status command on non-
> versionned file, outside a sandbox ( inside a sandbox the reponse
> is correct )
>
> The command line :
> svn.exe info --xml "WEBCAST-TV.doc"
>
> The reponse :
>
> <?xml version="1.0"?>
> <info>
> svn: '.' n'est pas une copie de travail
> svn: Impossible d'ouvrir le fichier '_svn\entries': Le chemin
> d'accès spécifié est introuvable.

I can confirm this problem on Mac OS X 10.4.8 PPC with Subversion 1.4.3.

Without the --xml switch, the output is fine:

$ svn info foo
svn: '.' is not a working copy
svn: Can't open file '.svn/entries': No such file or directory

With the --xml switch, the output is not fine because the output is
not a valid XML response:

$ svn info --xml foo
<?xml version="1.0"?>
<info>
svn: '.' is not a working copy
svn: Can't open file '.svn/entries': No such file or directory

> First the xml reponse is incomplete, without </info> ( it crash my
> tinyxml lib ) and I thing is not a normal xml entry , and why in
> french ?

On Unix-like systems, Subversion localizes its messages using the
$LANG environment variable. On my Mac I have this set to
en_US.ISO8859-1 so I get U.S. English messages. On Windows I believe
something similar happens, and apparently your system is set to a
French localization.

> I have search for this bug 'info xml bug' in issue tracker, my
> query returned no results
>
> Tested with svn 1.4.2.22196 on winxp.

I searched for just "xml" and I think this is the relevant bug report:

http://subversion.tigris.org/issues/show_bug.cgi?id=2656

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 26 09:38:13 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.