Francois Marier wrote:
> I've got a local repository on sid (git annex 0.25) and a remote on lucid 
> (git annex 0.21 --

Old versions of git-annex transferred content in a two step purpose,
first doing an rsync, and then sshing to the remote and running
"cd /path/to/repo; git-annex setkey".  New versions transfer content
in one step, by having rsync itself invoke "git-annex-shell recvkey".

> fatal: 
> '/pub/music/cds/.git-annex/SHA1:305f0714d940ddc9dc1922c5d41b0fef0d48511e.log' 
> is outside repository
> Command xargs 
> ["-0","git","--git-dir=/pub/music/cds/.git","--work-tree=/pub/music/cds","add","--"]
>  failed; exit code 123
>   git-annex: user error (Command xargs 
> ["-0","git","--git-dir=/pub/music/cds/.git","--work-tree=/pub/music/cds","add","--"]
>  failed; exit code 123)
> git-annex-shell: 1 failed

The only way to explain this is git-annex or git-annex-shell being run on
the remote with an action like "setkey" that updates the location log, but
without the cd to the repo.

That does not 100% make sense to me yet with the versions you mention
(git-annex-shell was introduced in version 0.15, and AFAICS 0.21 should
interoperate with 0.25), but it seems clear that a version mismatch is
the cause.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to