[hg]: update repo config if hgrc file changed

This commit is contained in:
Nadya Zabrodina
2017-03-30 19:54:18 +03:00
parent 6ba9ed4eaf
commit 04f9cd51be
@@ -162,7 +162,12 @@ final class HgRepositoryUpdater implements Disposable, BulkFileListener {
myUpdateQueue.queue(new MyUpdater("hgrepositoryUpdate"));
}
if (configHgrcChanged) {
myUpdateConfigQueue.queue(new MyUpdater("hgconfigUpdate"));
myUpdateConfigQueue.queue(new MyUpdater("hgconfigUpdate"){
@Override
public void run() {
myRepository.updateConfig();
}
});
}
if (dirstateFileChanged || hgIgnoreChanged) {
myRepository.getLocalIgnoredHolder().startRescan();