When replying, please don't top-post, and please trim your quoting a
little. My answers are below.
On Jan 22, 2007, at 04:41, Alejandro Fernandez wrote:
> On 1/22/2007 Alejandro Fernandez wrote:
>> On 2007/1/19, Ryan Schmidt wrote:
>>> Environment variables are different when the hook is called by
>>> Subversion. In particular, the environment should be very close to
>>> empty, and this may be a problem for some reason. See what kind of
>>> error is occurring by writing stderr to a log, then reading the log:
>>> $ echo update-dev.sh
>>> /usr/bin/svn update /var/www/html --non-interactive --username u --
>>> password p 2>/tmp/update-dev.log
>> I have tried the shell script you sent me and maybe we can be
>> closer to understand my problem. I have tested with the same
>> project, and althought it has been uploaded completely to the svn
>> server, the working copy in the web-server public folder has the
>> same lacks of certains directories and/or files.
>> The update-dev.log has the following message:
>> svn: Can't recode string
>> I have googled the message, and it seems to be problem of the
>> codification of the files, doesn't it?
>> I don't know how to solve this problem so any help will be useful.
> If this is useful I complete the information with the output for
> the "locale" command on my system (my region is Spain):
> I have read the problem could be the codification of some files
> (quote from svn book):
> svn: Can't recode string.
> The message is cryptic, but generally occurs when the Subversion
> client has received a UTF-8 string from the repository, but the
> characters can't be converted to the current locale.
> By the way I don't know how to check the codification of these
> files, neither change this codification.
As I understand it, "can't recode string" does not relate to the
content of any file in your repository. It just relates to your
You have showed me the locale settings when running in your shell.
But as I said, environment variables are different (usually absent)
in your hook scripts. You will need to set the locale inside the hook
script, for example by running "export LANG=es_ES.UTF-8" as the first
line in your hook script.
To reply to the mailing list, please use your mailer's Reply To All
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Mon Jan 22 22:02:35 2007