public void execute() {
try {
executeCommand();
} catch (IOException e) {
//noinspection ThrowableInstanceNeverThrown
errors.add(new VcsException(e));
return;
}
BufferedReader reader = new BufferedReader(new StringReader(commandOutput));
String line;
try {
while ((line = reader.readLine()) != null) {
final String path = VcsUtil.getFilePath(line).getPath();
MksMemberState state = new MksMemberState(VcsRevisionNumber.NULL, VcsRevisionNumber.NULL, null,
MksMemberState.Status.UNVERSIONED);
memberStates.put(path, state);
}
} catch (IOException e) {
LOGGER.error("error reading output " + commandOutput, e);
//noinspection ThrowableInstanceNeverThrown
errors.add(new VcsException(e));
}
}