My company has a policy about keeping source code encrypted on local developer machines. Where does IntelliJ IDEA keep the copy of the code changes that is used to drive its local history feature?
They are stored in ${System}/LocalHistory
. See this IDEA document for the location of the IntelliJ IDEA System
directory on various platforms.
As a side note, if you want to turn local history off, you can do so in the maintenance registry. On windows, you can access it via Ctrl+Alt+Shift+/. Select "Registry" from the popup. In the registry dialog, find the entry localHistory.daysToKeep
and set it to zero. (I've never actually tried setting it to zero, but I am assuming it would work for you.)