71 @type str |
71 @type str |
72 @param language language to be set |
72 @param language language to be set |
73 @type str |
73 @type str |
74 """ |
74 """ |
75 env = QProcessEnvironment.systemEnvironment() |
75 env = QProcessEnvironment.systemEnvironment() |
76 env.insert("HGPLAINEXCEPT", "progress") |
76 env.insert("HGPLAINEXCEPT", "progress") # maybe set to 'i18n,progress' |
77 |
77 |
78 # set the encoding for the process |
78 # set the encoding for the process |
79 if encoding: |
79 if encoding: |
80 env.insert("HGENCODING", encoding) |
80 env.insert("HGENCODING", encoding) |
81 |
81 |