@Override
  public void editFiles(VirtualFile[] files) throws VcsException {
    File[] ioFiles = new File[files.length];

    for (int i = 0; i < files.length; i++) {
      ioFiles[i] = virtualToIoFile(files[i]);

      PropertyClient client = myVCS.getFactory(ioFiles[i]).createPropertyClient();
      PropertyValue property = client.getProperty(Target.on(ioFiles[i], Revision.WORKING), SvnPropertyKeys.SVN_NEEDS_LOCK,
                                                  false, Revision.WORKING);

      if (property == null) {
        throw new VcsException(SvnBundle.message("exception.text.file.miss.svn", ioFiles[i].getName()));
      }
    }
    SvnUtil.doLockFiles(myVCS.getProject(), myVCS, ioFiles);
  }
@Override
  public void editFiles(VirtualFile[] files)