return new FilterStream(remoteOut, responseLen);
} else {
return new FilterStream(remoteOut, Integer.MAX_VALUE);
}
} catch (IOException ex) {
throw new HgRemoteConnectionException("Communication failure", ex).setRemoteCommand(cmd).setServerInfo(getServerLocation());
}
}