public void unregisterVcs(@NotNull AbstractVcs vcs) { if (!ApplicationManager.getApplication().isUnitTestMode() && myMappings.haveActiveVcs(vcs.getName())) { // unlikely LOG.warn( "Active vcs '" + vcs.getName() + "' is being unregistered. Remove from mappings first."); } myMappings.beingUnregistered(vcs.getName()); AllVcses.getInstance(myProject).unregisterManually(vcs); }
@Override public List<VcsDirectoryMapping> getDirectoryMappings(final AbstractVcs vcs) { return myMappings.getDirectoryMappings(vcs.getName()); }
@Override public boolean checkVcsIsActive(AbstractVcs vcs) { return checkVcsIsActive(vcs.getName()); }