Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BF: annexrepo: Error when using broken 'find --json'
On git-annex 7.20190626, 'find --json' produces regular output rather than json. In addition to being broken, this is problematic because, before the previous commit, we silently dropped lines that didn't start with "{". In the case of 'datalad get', this led to us incorrectly claiming that an absent file was present. We now fail with a RuntimeError in this situation, but let's raise a more informative error when 'find --json' is used with git-annex 7.20190626. This has been fixed in b8ef1bf3b (Fix find --json to output json once more, 2019-07-05). Re: http://git-annex.branchable.com/bugs/Regression_in___96__find_--json__96___output/ Re: #3510 (comment) Closes #3513.
- Loading branch information