bastiand / mercurialeclipse

my own repo for MercurialEclipse.

Changed (Δ46 bytes):

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