999743c1e8
Fix bug when used with a recently cloned repository, where "merging" messages were included in the output of configlist (and perhaps other commands) and caused a "Failed to get annex.uuid configuration" error. This does not seem to have been a reversion. I saw this with configlist, but it seems possible for other commands to be effected, and it might not always happen only after a fresh clone. Eg, if a foo/git-annex branch is pushed to the remote, the next git-annex-shell will auto-merge it and display the message. Decided to run all git-annex-shell commands with noMessages, even ones that don't currently use stdout for structured communication. Better to keep open the possibility for using stdout in the future. This commit was supported by the NSF-funded DataLad project
15 lines
580 B
Markdown
15 lines
580 B
Markdown
Failed to get annex.uuid configuration of repository clam
|
|
|
|
Instead, got: "(merging origin/git-annex origin/synced/git-annex into git-annex...)\n(recording state in git...)\nannex.uuid=$obscured\ncore.gcrypt-id=\n"
|
|
|
|
Seen after cloning the repository to clam, not running git-annex init
|
|
in it, adding clam as a remote, and git annex sync clam.
|
|
Apparently git-annex-shell outputs some merging messages in this
|
|
case, which breaks the protocol.
|
|
|
|
Next git-annex sync clam worked ok and got the UUID.
|
|
|
|
clam has git-annex 6.20170101 installed.
|
|
--[[Joey]]
|
|
|
|
> [[fixed|done]] --[[Joey]]
|