private void abortOnLocalChanges() throws VcsException {
    if (getLocalChanges().size() != 0) {
      throw new VcsException(HgBundle.message("hg4idea.update.error.localchanges", repoRoot.getPath()));
    }
  }
private void abortOnLocalChanges()