SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.WC_LOCKED, "Working copy ''{0}'' is locked; try performing 'cleanup'", getRoot());
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.WC_LOCKED, "Working copy ''{0}'' locked; try performing ''cleanup''", getRoot());
    boolean innerLock() throws SVNException {        if (getLockFile().isFile()) {            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.WC_LOCKED, "Working copy ''{0}'' is locked; try performing 'cleanup'", getRoot());            SVNErrorManager.error(err);        }        boolean created = false;        try {            created = getLockFile().createNewFile();        } catch (IOException e) {            SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.WC_NOT_LOCKED, "Cannot lock working copy ''{0}'': {1}",                     new Object[] {getRoot(), e.getLocalizedMessage()});            SVNErrorManager.error(err, e);        }        if (!created) {            if (getLockFile().isFile()) {                SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.WC_LOCKED, "Working copy ''{0}'' is locked; try performing 'cleanup'", getRoot());                SVNErrorManager.error(err);            } else {                SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.WC_NOT_LOCKED, "Cannot lock working copy ''{0}''", getRoot());                SVNErrorManager.error(err);            }        }        return created;    }