[vcs-log] inputs index is not needed in log
authorJulia Beliaeva <Julia.Beliaeva@jetbrains.com>
Thu, 13 Oct 2016 17:33:49 +0000 (20:33 +0300)
committerJulia Beliaeva <Julia.Beliaeva@jetbrains.com>
Thu, 10 Nov 2016 17:12:25 +0000 (20:12 +0300)
commit32e141ef1b6a336a971f005a05a40e3bfd7e5e72
treefd465475bfc8f57e0bda99c3794c362b0965a1ac
parent0ff6d44aa76cf60dafacd9d3ec16054433b31516
[vcs-log] inputs index is not needed in log

* InputsIndex is null for log indexes.
* Common persistent set is used for keeping indexed status.
* Remove myEmptyCommits from paths index and myNoTrigramsCommits from trigrams index. Commits with no paths or no trigrams wont be re-indexed now since they will be stored in the persistent set.
* Remove PrintIndexInfo action, not very useful and used for debug.
* Rewrite create/dispose code for indexes. Each constructor now throws an exception if something's wrong and all indexes are cleaned-up and recreated together if it is.
platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogFullDetailsIndex.java
platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogMessagesTrigramIndex.java
platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPathsIndex.java
platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPersistentIndex.java
platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogUserIndex.java
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/actions/PrintIndexInfoAction.java [deleted file]
platform/vcs-log/impl/src/com/intellij/vcs/log/util/PersistentUtil.java