class: HGCommand cvs_MAIN
authorClaus Gittinger <cg@exept.de>
Sun, 13 Apr 2014 15:33:23 +0100
branchcvs_MAIN
changeset 494 25ef8b23d6a8
parent 493 ea15f4b5bca3
child 495 ff3e296098e5
class: HGCommand changed: #execute must also set LC_MESSAGES to 'C'
mercurial/HGCommand.st
--- a/mercurial/HGCommand.st	Sun Mar 16 10:26:05 2014 +0000
+++ b/mercurial/HGCommand.st	Sun Apr 13 15:33:23 2014 +0100
@@ -593,8 +593,8 @@
                     ifTrue:[OperatingSystem getEnvironment copy]
                     ifFalse:[environment := Dictionary new].
     environment at: 'HGEDITOR' put: 'true'.
-
     environment at:'LANG' put:'C'.
+    environment at:'LC_MESSAGES' put:'C'.
 
     args := self arguments.
     OperatingSystem isMSWINDOWSlike ifTrue:[
@@ -638,6 +638,8 @@
         stdout readWaitWithTimeoutMs: 10.
         stderr readWaitWithTimeoutMs: 10.
         Debug ifTrue:[
+            "/ Transcript showCR:'hg stdout:'; showCR:stdout contents asString.
+            "/ Transcript showCR:'hg stderr:'; showCR:stderr contents asString.
             stdout := stdout contents asString readStream.
             stderr := stderr contents asString readStream.
         ]
@@ -1824,7 +1826,7 @@
 !
 
 version_SVN
-    ^ 'Id::                                                                                                                        '
+    ^ '$Id$'
 ! !