SVNErrorManager.error("svn: Working copy '" + getRoot() + "' locked");
SVNErrorManager.error("svn: Working copy '" + getRoot() + "' locked; try performing 'cleanup'");
    public boolean lock() throws SVNException {        if (!isVersioned()) {            return false;        }        boolean created = false;        try {            created = getLockFile().createNewFile();        } catch (IOException e) {            SVNErrorManager.error("svn: Cannot lock working copy '" + getRoot() + "': " + e.getMessage());        }        if (!created) {            if (getLockFile().isFile()) {                SVNErrorManager.error("svn: Working copy '" + getRoot() + "' locked");            } else {                SVNErrorManager.error("svn: Cannot lock working copy '" + getRoot() + "'");            }        }        return created;    }