Commit graph

1434 commits

Author SHA1 Message Date
Joey Hess
1e3aa441f0 Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-26 13:22:57 -04:00
http://joeyh.name/
d74ec14d1a Added a comment 2013-02-26 17:20:13 +00:00
Joey Hess
7dfa97ffaf format 2013-02-26 12:34:59 -04:00
weuceecu
37cf057c5e 2013-02-26 13:41:40 +00:00
https://launchpad.net/~arand
02e82c0981 2013-02-25 20:16:24 +00:00
http://edheil.wordpress.com/
60c20162c1 Added a comment 2013-02-25 16:02:44 +00:00
http://edheil.wordpress.com/
ac8c72b51c Added a comment 2013-02-25 14:57:20 +00:00
http://edheil.wordpress.com/
7de5729ac5 Added a comment 2013-02-25 14:24:30 +00:00
http://edheil.wordpress.com/
96cff2ebc8 Added a comment 2013-02-25 12:44:19 +00:00
http://edheil.wordpress.com/
725e360a31 Added a comment 2013-02-25 06:18:58 +00:00
http://edheil.wordpress.com/
bdb53cee71 2013-02-25 05:56:52 +00:00
Joey Hess
298f7493cb Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-24 17:49:34 -04:00
Joey Hess
86a0e0f21a close; cabal hell is not my problem 2013-02-24 17:23:25 -04:00
Joey Hess
6ff1ce76b7 hopefully fix a bug 2013-02-24 17:21:04 -04:00
http://joeyh.name/
5132fb9e38 Added a comment 2013-02-24 19:09:14 +00:00
Joey Hess
1fe8b332c9 remove duplicate bug 2013-02-24 14:49:33 -04:00
https://www.google.com/accounts/o8/id?id=AItOawlqOu7P4tb4D-Xo2pYrjln2NsAObtErliM
c267e31502 Added a comment: Same problem 2013-02-24 16:51:52 +00:00
https://launchpad.net/~arand
c89d757baa 2013-02-23 15:44:21 +00:00
http://joeyh.name/
ebbbf53d83 Added a comment 2013-02-22 21:46:59 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkGCmVc5qIJaQQgG82Hc5zzBdAVdhe2JEM
d15c444253 2013-02-22 21:31:10 +00:00
http://cyprio.net/
6f9b21a488 Added a comment: Duplicate 2013-02-22 17:42:30 +00:00
http://cyprio.net/
32e5875507 2013-02-22 03:03:28 +00:00
http://remi.vanicat.free.fr/
0e159e9678 new bug on crippled filesystem 2013-02-21 10:10:51 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl2Jj8q2upJL4ZQAc2lp7ugTxJiGtcICv8
67e3ba3354 2013-02-21 03:16:20 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmcYryijvlF8bJvM_eZNSrUPEkMlxMDGTQ
a5023e8019 Added a comment: Also relevant for machines behind pagekite.net 2013-02-19 20:00:30 +00:00
Joey Hess
bd99730d77 close 2013-02-18 15:55:18 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkGCmVc5qIJaQQgG82Hc5zzBdAVdhe2JEM
ba332abd7c 2013-02-18 18:15:29 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkGCmVc5qIJaQQgG82Hc5zzBdAVdhe2JEM
096f7d3dad 2013-02-18 18:13:30 +00:00
Joey Hess
169712fc9a add random 2013-02-17 17:00:28 -04:00
http://edheil.wordpress.com/
6f08b2067c 2013-02-17 01:49:12 +00:00
annexuser
2dc663bcbb 2013-02-16 23:31:34 +00:00
Joey Hess
397082013a proper fix for dropunused
Now getKeysPresent checks that the key's content, not only its directory,
exists. In direct mode, the inode cache file is used as a standin for the
content.

removeAnnex always removes the inode cache file, and drop and move --from
always call removeAnnex, even if the object does not seem to be inAnnex,
to ensure it's always deleted.
2013-02-15 17:58:49 -04:00
Joey Hess
55069f0fab update for reversion 2013-02-15 16:39:11 -04:00
Joey Hess
5a8fb26d0a Revert "Clean up direct mode cache and mapping info when dropping keys."
This reverts commit 57780cb3a4.

This was buggy, it caused the direct mode cache to be lost when dropping
keys, so when the file is gotten back, it's stored in indirect mode.

Note to self: Do not attempt bug fixes at 6 am!
2013-02-15 16:37:57 -04:00
Joey Hess
0583b4686a fixed 2013-02-14 19:06:18 -04:00
Joey Hess
071d07ca29 fixed 2013-02-14 19:06:08 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmaMxYm33s0H-nxBo5uzYUzdIECoyR8Ug8
1703f2a416 Added a comment: an update 2013-02-13 20:33:24 +00:00
annexuser
927371438b 2013-02-13 17:39:19 +00:00
http://joeyh.name/
202108fa81 Added a comment 2013-02-12 15:42:57 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmaMxYm33s0H-nxBo5uzYUzdIECoyR8Ug8
6add8f9c74 2013-02-12 00:54:26 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmaMxYm33s0H-nxBo5uzYUzdIECoyR8Ug8
3ff7abe1b0 Added a comment: removing config 2013-02-11 20:42:30 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmhjlfoU21OiXKH_MXw75Uq5EsX7LJW5p0
a2a7b049d2 Added a comment 2013-02-07 21:11:39 +00:00
Joey Hess
57780cb3a4 Clean up direct mode cache and mapping info when dropping keys.
These files were left behind, and made getKeysPresent find keys that were
not present. It would be expensive to make getKeysPresent check that the
actual key files are present (it just lists the directories). But that's not
needed if we just clean up the stale cache and mapping files.

To handle systems that were in direct mode and got switched back with stale
direct mode files, made cleanObjectLoc remove all files in the key's directory.

git annex unused will still list keys that are gone but for which the stale
direct mode files exists. To deal with that, made dropunused remove the key's
directory even if the key does not seem to be present.
2013-02-07 08:28:40 -04:00
https://launchpad.net/~arand
be1b52dbcb 2013-02-07 11:58:38 +00:00
https://launchpad.net/~arand
d171083443 2013-02-07 11:51:49 +00:00
Joey Hess
b1de99c1d4 uninit, unannex --fast: If hard link creation fails, fall back to slow mode. 2013-02-06 14:02:18 -04:00
Joey Hess
a9dbd9993e Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-06 13:04:53 -04:00
Joey Hess
547d7745fb pre-commit: Update direct mode mappings.
Making the pre-commit hook look at git diff-index to find changed direct
mode files and update the mappings works pretty well.

One case where it does not work is when a file is git annex added, and then
git rmed, and then this is committed. That's a no-op commit, so the hook
probably doesn't even run, and it certianly never notices that the file
was deleted, so the mapping will still have the original filename in it.

For this and other reasons, it's important that the mappings still be
treated as possibly inconsistent.

Also, the assistant now allows the pre-commit hook to run when in direct
mode, so the mappings also get updated there.
2013-02-06 12:44:19 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkZktNHFhxC1kYA9KKdKpYJO4clq9WDsjE
c60da41411 Added a comment 2013-02-06 06:35:22 +00:00
Joey Hess
ceb732bea7 Merge branch 'master' of ssh://git-annex.branchable.com 2013-02-05 18:02:32 -04:00