bastiand / mercurialeclipse
my own repo for MercurialEclipse.
Clone this repository (size: 6.1 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/bastiand/mercurialeclipse/
| commit 1080: | 22fddb32b390 |
| parent 1079: | bb4192ceba0c |
| branch: | default |
don't output fallbackencoding
Changed (Δ46 bytes):
raw changeset »
src/com/vectrace/MercurialEclipse/commands/AbstractShellCommand.java (4 lines added, 3 lines removed)
Up to file-list src/com/vectrace/MercurialEclipse/commands/AbstractShellCommand.java:
| … | … | @@ -149,6 +149,10 @@ public abstract class AbstractShellComma |
149 |
149 |
throws HgException { |
150 |
150 |
try { |
151 |
151 |
List<String> cmd = getCommands(); |
152 |
// don't output fallbackencoding |
|
153 |
String cmdString = cmd.toString().replace(",", "").substring(1); //$NON-NLS-1$ //$NON-NLS-2$ |
|
154 |
final String commandInvoked = cmdString.substring(0, cmdString.length() - 1); |
|
155 |
||
152 |
156 |
Charset charset = null; |
153 |
157 |
if (workingDir != null) { |
154 |
158 |
HgRoot hgRoot; |
| … | … | @@ -161,9 +165,6 @@ public abstract class AbstractShellComma |
161 |
165 |
// no hg root found |
162 |
166 |
} |
163 |
167 |
} |
164 |
||
165 |
String cmdString = cmd.toString().replace(",", "").substring(1); //$NON-NLS-1$ //$NON-NLS-2$ |
|
166 |
final String commandInvoked = cmdString.substring(0, cmdString.length() - 1); |
|
167 |
168 |
|
168 |
169 |
ProcessBuilder builder = new ProcessBuilder(cmd); |
169 |
170 |
