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

Re: Change locale for $date$?

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-09-27 17:11:33 CEST

On Sep 27, 2005, at 15:45, Fabian Cenedese wrote:

>>> Anyway, the question remains the same: Is there some way to
>>> influence svn regarding keyword expansion? Is it always
>>> dependent on the current OS settings? In my case I'd even
>>> like to have it fixed to English even if I have German settings.
>
> Yeah, question still remains. But from the answers so far I
> take it as a "no", as I had thought previously. So to append
> another question: Could something like this be planned for the
> future? Maybe as part of some bigger localization changes?

On the command-line, it's very easy to have Subversion use a
different locale. Just set the environment variable:

LANG=fr_FR svn info

That should work for any locale-aware Unix program, not just Subversion.

Specifically to your question about keyword expansion, since keyword
expansion occurs on the client side when you check out or update, it
appears that you should set the locale at the time when you check out
or update:

LANG=fr_FR svn co $REPO [$WC]

For TortoiseSVN, I have no idea where it gets its locale information
from; if that's important to you, ask on their mailing list.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 27 17:17:43 2005

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