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

[TSVN] Tortoise SVN changes locale setting for other programs?

From: Dennis Franken <dennis.franken_at_rotobee.com>
Date: 2005-06-27 14:50:21 CEST

Dear Developers,

I belive there is a bug with tortoise/subversion switching locales that
affect other programms (Maya 6.0 in our case), changing how they
handle number formats.
When I uninstall subversion, Maya works correctly.

When I open and save files in maya with subversion installed,
the maya internal number format gets switched, showing e.g. "0,000"
instead of "0". Files saved this way get corrupt. The bug is not always
reproducible, but regulary.
This seems to be releated with the subersion cache program running in
background and beeing started when saving and loading files.

I remember s.th. about that Alias Wavefront Maya is using some
special locale settings, that our plugins for maya always used the
locale of maya, and not the one set by the plugin code. Maybe
this has to do with unix/c locale mechanisms since maya is originally
a unix program.

I have found the following mailing, that there was some problem
with locale stuff, solved with temporarily switching locals. Is this
related?

Thanks guys for the great work on subversion and tortoise, a very
nice tool! :)
I would love to use it for our game development process.

Is it possible to change a configuration so no locales are switched?

I have been using WinXP Pro, subversion / tortoise svn 1.2

Maybe we can fix the bug ourself if someone can tell me some
code party where the locale handling is done.

Many thanks in advance,
Dennis Franken

----
http://svn.haxx.se/tsvn/archive-2005-05/0766.shtml
 > That looks like a good idea. I have a look tomorrow and see if it's
 > possible to do and what might go wrong if we do that.
You are already using a SVN class, maybe that helps. And the locale
switching could be done with a temporary object of a LocaleSwitcher
class that switches to the subversion locale in the constructor and
switch back in the destructor, similar to the CWaitCursor class, so we
never miss a switch back.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jun 27 14:51:05 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.