Mercurial > hg > easyhg
comparison mainwindow.cpp @ 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 | 8fd71f570884 |
children | 0689dada1419 |
comparison
equal
deleted
inserted
replaced
245:96266953fbd7 | 246:0fe81e1b26ce |
---|---|
1604 // it creates files called hg-checklink and hg-checkexec to test | 1604 // it creates files called hg-checklink and hg-checkexec to test |
1605 // properties of the filesystem. For safety's sake, suspend the | 1605 // properties of the filesystem. For safety's sake, suspend the |
1606 // fs watcher while running commands, and restore it shortly after | 1606 // fs watcher while running commands, and restore it shortly after |
1607 // a command has finished. | 1607 // a command has finished. |
1608 | 1608 |
1609 suspendFileSystemWatcher(); | 1609 if (action.action == ACT_STAT) { |
1610 suspendFileSystemWatcher(); | |
1611 } | |
1610 } | 1612 } |
1611 | 1613 |
1612 void MainWindow::commandFailed(HgAction action, QString output) | 1614 void MainWindow::commandFailed(HgAction action, QString output) |
1613 { | 1615 { |
1614 DEBUG << "MainWindow::commandFailed" << endl; | 1616 DEBUG << "MainWindow::commandFailed" << endl; |