Mercurial > hg > easyhg
changeset 246:0fe81e1b26ce
* Be a bit less eager to suspend the fs watcher (e.g. don't suspend on potentially lengthy operations like diff)
author | Chris Cannam |
---|---|
date | Tue, 11 Jan 2011 20:18:37 +0000 |
parents | 96266953fbd7 |
children | 0689dada1419 |
files | mainwindow.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mainwindow.cpp Mon Jan 10 15:39:27 2011 +0000 +++ b/mainwindow.cpp Tue Jan 11 20:18:37 2011 +0000 @@ -1606,7 +1606,9 @@ // fs watcher while running commands, and restore it shortly after // a command has finished. - suspendFileSystemWatcher(); + if (action.action == ACT_STAT) { + suspendFileSystemWatcher(); + } } void MainWindow::commandFailed(HgAction action, QString output)