-
Yuya Nishihara authored
Since RepoWatcher did not detect changes of dirstate file, repo instance had stale cache after working-directory command. This caused inconsistent state described in issue #3647. In this case, StatusThread was able to see new dirstate, but the main repo instance still had stale dirstate. In a later version, change notification signals will be merged into one. For examle, RepoModel will listen to repositoryChanged signal in this way: def _onRepositoryChanged(self, flags): if flags & Changelog: self._reloadChangelog() elif flags & WorkingParent: self._redrawGraph() elif flags & WorkingBranch: self._emitDataChangedOfWorkingDirectoryRow() ...
23f2e86ca6be