git annex loses track of files it has locally
martin f krafft
madduck at madduck.net
Tue Sep 9 16:05:36 CEST 2014
Have a look at this:
fishbowl:…ka/photos|master|2014.08.29% file *
Foto1.JPG: symbolic link to `../.git/annex/objects/mg/JZ/SHA256E-s3103631--5ba8f6d0b7a51700f03ce1c2ddc774a68c168a07f6b30585ffe3c749e8995ba1.JPG/SHA256E-s3103631--5ba8f6d0b7a51700f03ce1c2ddc774a68c168a07f6b30585ffe3c749e8995ba1.JPG'
fishbowl:…ka/photos|master|2014.08.29% file -L *
Foto1.JPG: JPEG image data, EXIF standard 2.21
So the file is locally available. However:
fishbowl:…ka/photos|master|2014.08.29% git annex whereis
whereis Foto1.JPG (3 copies)
296d71bb-1aef-4381-b15a-8c9f13836254 -- madduck at albatross:~/family/veronika/photos [albatross]
81162b32-96f0-4573-94ef-e2930a439bfb -- penny at hippolyta.gern:~/v-photos
ecedc885-2ecd-4f3a-8bae-ae2c27ae1f37 -- madduck at julia:/srv/git/priv/family/veronika/photos.git [origin]
ok
git-annex does not know about it. Consequently, I cannot get it:
fishbowl:…ka/photos|master|2014.08.29% git annex get .
# nothing happens
So part of git-annex thinks the file is present and another thinks
it's not…
I have to drop/get and then it works:
fishbowl:…ka/photos|master|2014.08.29% git annex drop .
drop Foto1.JPG (checking albatross...) ok
(Recording state in git...)
fishbowl:…ka/photos|master|2014.08.29% git annex get .
get Foto1.JPG (from albatross...)
SHA256E-s3103631--5ba8f6d0b7a51700f03ce1c2ddc774a68c168a07f6b30585ffe3c749e8995ba1.JPG
3,103,631 100% 42.90MB/s 0:00:00 (xfr#1, to-chk=0/1)
ok
(Recording state in git...)
fishbowl:…ka/photos|master|2014.08.29% git annex whereis
whereis Foto1.JPG (4 copies)
288d720f-62e5-4703-b74e-8511af1715c4 -- madduck at fishbowl:~/family/veronika/photos [here]
296d71bb-1aef-4381-b15a-8c9f13836254 -- madduck at albatross:~/family/veronika/photos [albatross]
81162b32-96f0-4573-94ef-e2930a439bfb -- penny at hippolyta.gern:~/v-photos
ecedc885-2ecd-4f3a-8bae-ae2c27ae1f37 -- madduck at julia:/srv/git/priv/family/veronika/photos.git [origin]
ok
The reason may be that I accidentally set trust=dead, but then
changed it back to semitrusted.
Is there another way than drop/get on all files to restore this?
I've run "repair", "reinject" and "fix", but nothing seemed to fix
the problem.
Thanks,
--
@martinkrafft | http://madduck.net/ | http://two.sentenc.es/
"out of the crooked timber of humanity,
no straight thing was ever made."
-- imanuel kant
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1107 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.madduck.net/pipermail/vcs-home/attachments/20140909/4beae2c8/attachment.sig>
More information about the vcs-home
mailing list