Subject: | App::SVN::Bisect and LC_MESSAGES |
Dear Mark,
Many thanks for your module App::SVN::Bisect.
I liked it very much. It is great.
The script produces an error "Cannot find current revision of
checkout..." when used in a working copy in a computer whose locales are
set to other language than English.
See below:
*********************
$ svn checkout svn+ssh://banot/home/casiano/repository/ejemplo/trunk
A trunk/t
A trunk/t/SVN-Example.t
A trunk/MANIFEST
A trunk/lib
A trunk/lib/SVN
A trunk/lib/SVN/Example.pm
A trunk/Makefile.PL
A trunk/Changes
A trunk/README
RevisiĆ³n obtenida: 29
$ cd trunk/
$ svn-bisect start
Cannot find current revision of checkout. at
/usr/local/share/perl/5.10.0/App/SVN/Bisect.pm line 715.
$
***************************
The problem is easily managed by setting the LC_MESSAGES variable to
"C":
*************************
$ export LC_MESSAGES=C
$ svn-bisect start
$ svn-bisect before 0
$ svn-bisect after
There are 4 revs left in the pool. Choosing r9.
$
*****************************
It will be good if you set the variable at the beginning of the process
to avoid the need of manually setting the variable.
*************
$ENV{LC_MESSAGES} = "C";
**************
Thanks again for this module.
Best wishes
Casiano