Subversion Info always fails

Hi,

I'm a new FinalBuilder user I'm currently evaluating before buy.

I'm trying to "Finalbuilderize" my build process, my code is stored in a Subversion Repository. At the very top of my FinalBuilder script, I want to get the revision number of my branch HEAD. So I use the task "Subversion Info"

Parameters: info --non-interactive --password [not suppressed !] --revision HEAD --username pierre  svn://[repository]/[project]/branches/[branch]

(Note that the password is not suppressed in the log.)

 

...
Révision : 588
...

Subversion info failed with return code 0

Do you know what's happening ? Maybe the problem is that my Subversion returns localized information ?

Regards,

--
Pierre Yager

Ok, I found what happens. It's due to subversion localization, the solution is straighforward : either delete the share/locale folder of your subversion installation, or define a LC_MESSAGE variable in your FinalBuilder projet with the value "en_US".

Hope this helps

--
Pierre Yager

Got almost the same problem. But mine lie in the fact that I have to set none-unicode applications to an asian locale, for all else we the en_US set. The LC_MESSAGE did unfortunately not work. I have worked around tis problem before in Perl. To me it seems tha parsing/regexp of the svn info output is going on the specific english field names. A slit combined with a regexp could instead enumerate over the entries, line-by-line, since the order of the fields do not change we know which is what.

Anyone else had this problem? Or is the solution to write our own svn info action?

//Charlie

按照Pierre Yager的方法,在Project中添加了个变量之后重启电脑还是报出Return code 0 的错误,
不过发现在C:\Program Files\TortoiseSVN\Languages目录中除了en_US,还有en_GB把这en_GB重命名掉重启电脑之后就解决了。。。

Umm… ok… according to translate.google.com (for the benifit of most users who don’t speak/read chinese)

“According to Pierre Yager’s method, added in the Project after the restart the computer or the variables quoted Return code 0 error
But found in C: \ Program Files \ TortoiseSVN \ Languages directory in addition to en_US, there en_GB en_GB rename this out after restarting the computer solved. . .”