mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-68120 CCE in Mercurial. Pass HistorySession copy on refresh.
[reviewed by Kirill Likhodedov]
This commit is contained in:
committed by
Kirill Likhodedov
parent
965dcc2b3b
commit
fec8b2b9a2
@@ -173,13 +173,13 @@ public class AbstractVcsHelperImpl extends AbstractVcsHelper {
|
||||
}
|
||||
|
||||
private FileHistoryPanelImpl resetHistoryPanel() {
|
||||
final VcsHistorySession copy = mySession.copyWithCachedRevision();
|
||||
if (myFileHistoryPanel == null) {
|
||||
ContentManager contentManager = ProjectLevelVcsManagerEx.getInstanceEx(myVcs.getProject()).getContentManager();
|
||||
final VcsHistorySession copy = mySession.copyWithCachedRevision();
|
||||
myFileHistoryPanel = new FileHistoryPanelImpl(myVcs, myPath, copy, myVcsHistoryProvider,
|
||||
contentManager, myRefresher);
|
||||
} else {
|
||||
myFileHistoryPanel.getHistoryPanelRefresh().consume(mySession);
|
||||
myFileHistoryPanel.getHistoryPanelRefresh().consume(copy);
|
||||
}
|
||||
return myFileHistoryPanel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user