PyCharm local history is disable all the time

Answered

Hi,

I am now using PyCharm 2018.2. Unfortunately, no local history is saved for any of my files. When I right click on any file and select Local History, the 'Show History' is greyed.  "Invalidate caches and restart" didn't work on me. I also checked the idea.log file and I found these:

(2018-10-10 20:13:46,623 [ 5348] INFO - .history.utils.LocalHistoryLog - local history version mismatch (was: 0, expected: 6), rebuilding...
2018-10-10 20:13:46,623 [ 5348] INFO - .history.utils.LocalHistoryLog - FS has been rebuild, rebuilding local history...)

So what does the 'local history version mismatch' mean and how can I fix it? 

Thanks

Yibo

5 comments
Comment actions Permalink

Hi Yibo,

Please reproduce the problem and then upload your idea.log zipped (Help | Show Log in...) to https://uploads.services.jetbrains.com/ and provide the name of the zip file.

Kind regards,

Sergey

https://www.jetbrains.com

The Drive to Develop

0
Comment actions Permalink

Hi Sergey,

Thanks for your help. I have uploaded the zipped file.

Cheers

Yibo

0
Comment actions Permalink

Thanks for the log.

Please try "File | Invalidate Caches / Restart...". Does it help?

0
Comment actions Permalink

Thank you for the response. I tried that step but the 'Show History' is still grey. I uploaded the updating idea.log file again.

0
Comment actions Permalink

Please update your PyCharm to the latest version or try it in EAP build https://www.jetbrains.com/pycharm/nextversion/.

Does the problem remain?

0

Please sign in to leave a comment.