Strange behaviour for VcsHistorySession

When for some reason I activated detailed tracing of my plugin activity , I discovered that when you query history for a file, the VcsHistorySession instance returned will be continuously queried for the current revision number of that file, even if the history window is closed.

is this expected ?

2 comments

Hello Thibaut,

When for some reason I activated detailed tracing of my plugin
activity , I discovered that when you query history for a file, the
VcsHistorySession instance returned will be continuously queried for
the current revision number of that file, even if the history window
is closed.

is this expected ?


No, this is a major bug which will be fixed in the next bugfix update. The
refresh should stop once the history panel is closed.

Thanks for reporting!

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

I need to say I didn't implement the com.intellij.openapi.vcs.history.VcsHistorySession#allowAsyncRefresh method

0

Please sign in to leave a comment.