Skip to content
  • Yuya Nishihara's avatar
    repoagent: light-weight suspend of repository monitor while running commands · 0fef1c00a58e
    Yuya Nishihara authored
    Before, repository files were polled on command finished no matter if they
    were modified or not. This wasn't ideal for running read-only commands.
    
    This patch addresses the issue by not stopping QFileSystemWatcher while
    running commands. This way, we need to check repository changes only if
    QFileSystemWatcher detects changes or the watcher is disabled, which means
    we can avoid polling after revset query.
    0fef1c00a58e