mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-75269 Fix encoding in diff for Mercurial.
[Reviewed by irengrig, max]
This commit is contained in:
@@ -39,6 +39,7 @@ public class HgCatCommand {
|
||||
final HgCommandExecutor executor = new HgCommandExecutor(myProject);
|
||||
executor.setOptions(Collections.<String>emptyList());
|
||||
executor.setSilent(true);
|
||||
executor.setCharset(charset);
|
||||
final HgCommandResult result = executor.executeInCurrentThread(hgFile.getRepo(), "cat", arguments);
|
||||
|
||||
if (result == null) { // in case of error
|
||||
|
||||
Reference in New Issue
Block a user