Transfer local history from PhpStorm 3 to 4 after upgrade
After upgrading to PhpStorm 4 the local history is empty. Is there a way to export the local history from PhpStorm 3 to 4?
(On a Mac) I have already tried copying the changes.storageData and changes.storageRecordIndex files from local ~/Library/Caches/WebIDE10/localHistory to ~/Library/Caches/WebIDE40/localHistory, but when I launch PhpStorm 4 the files are immediately erased and the history shows up empty.
请先登录再写评论。
Hi Richard,
I think it is not possible (not 100%, but very close) as it linked to other indexes which get invalidated with each new version (even between some minor builds, as stubs got constantly updated).
Instead of relying solely on Local History, it would be much better to setup your project under proper VCS (git, mercurial, subversion etc)
I do use git as well, I realize the local history is not a replacement for that, but the local history makes it very easy to review changes of a single file over a shorter period of time. It has even saved me once when some files that was not yet added to git was deleted by clumsy fingers, and I could recover them from the local history. I see it as the perfect companion to a proper vcs :) .
Well, I just upgarded to the latest EAP build, and local history (for yesterday) is gone. So no -- not possible to transfer.
Ok.Thanks anyway for taking the time to answer me :)