@Override
  public void unregisterManually(@NotNull AbstractVcs vcs) {
    synchronized (myLock) {
      String name = vcs.getName();
      if (!myVcses.containsKey(name)) {
        LOG.error(String.format("vcs is not registered: %s", vcs), new Throwable());
        return;
      }
      myVcses.remove(name);
    }
    unregisterVcs(vcs);
    ProjectLevelVcsManagerImpl.getInstanceImpl(myProject).updateMappedVcsesImmediately();
  }
@Override
  public void unregisterManually(@NotNull AbstractVcs vcs)