direct, indirect: Refuse to do anything when the assistant or git-annex watch daemon is running.

This commit is contained in:
Joey Hess 2013-04-22 16:41:46 -04:00
parent 777349f0d3
commit dc39da52f8
5 changed files with 21 additions and 6 deletions

View file

@ -50,3 +50,8 @@ that all three copies are stored in ~/Indirect, so the functionality I'm after s
**Edit: Doing a git annex sync in ~/Indirect results in the continuing behaviour to be correct, so there's some issue telling Direct that Indirect is no longer in direct-mode?**
This appears to fix it, but I guess shouldn't be necessary.
> AFAICS, the entire problem is that the assistant does not notice when the
> repository it's running in is changed from direct to indirect mode. Since this
> has also been reported to cause problems with the assistant, I have added
> a check to prevent it from being done. [[done]] --[[Joey]]