Closed achilleas-k closed 5 years ago
Sometimes, git annex sync commands can fail without returning an error code. I encountered this in the past with merge conflicts. Previously we checked for merge errors that exhibited this behaviour, but it can also happen in other cases (permission denied). For all functions that use annex sync internally (AnnexPull, AnnexPush, AnnexSync), the client now first checks if stderr printed any known error messages, then checks for merge conflicts and finally checks if the return code was not 0 (err != nil).
Config, documentation, and CI configs.
Bumping version number