Been trying to figure out what would cause this but im seeing an issue when Syncing to the head of the branch using perforce.
Currently my vcs.xml looks like
<?xml version="1.0" encoding="UTF-8"?>
<mapping directory="" vcs="Perforce" />
<mapping directory="$PROJECT_DIR$" vcs="Perforce" />
If I leave Intellij open, Sync the code and run dist-clean (or just a clean), let Intellij reindex the changes, all of a sudden it loses my VCS settings changing the VCS to Git instead of Perforce. This however does not happen if I close intellij and sync and clean so im thinking there has to be something happening during the reindex where it is resetting my settings.
Incase it helps, we do have the perforce repository under a git project.
Let me know what I can try to get this to keep my settings.