For the mks VCS plugin i'm maintaining i need to know if a particular file reported by the VCS is part of the project.

For this i'm using project.getProjectScope().contains(VirtualFile).

the module content root is set to Core\core-dev (that contains a maven like structure).

My problem is that when in the VCS dialog i set the VCS root as Core\core-dev, project.getProjectScope().contains(virtualFile) returns false for any file right under Core\core-dev.

Is this working as expected ?

When I set the VCS root as Core, everything works fine

Please sign in to leave a comment.