You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by vcf <vc...@free.fr> on 2007/02/26 15:12:32 UTC

Re: XML output bug for svn -info -xml

Dear Ryan,

Yes , thank, as Issue 2656 : 'Enhancement' (!?) for the command log --xml

In fact is probabely a bug for all svn.exe [cmd] -xml for unversioned 
file outside a sandbox.

I do known what is the most important for my application, fix TinyXML to 
crash or fix this bug, both ;)

Anyway I can hope wil be fixed in next release ?

Regards,

@livier.



Ryan Schmidt a écrit :
> 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
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org