diff options
author | Joey Hess <joey@kitenet.net> | 2014-01-22 15:33:02 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-01-22 15:33:02 -0400 |
commit | cc366b8241cfc3e41252ecd2624332c15da03377 (patch) | |
tree | 78d254a03b1298ff3ae9c8c77dad04b049ce1871 /Test.hs | |
parent | f78a0a2b11591aca0885213e0b74cddff4d6ae57 (diff) |
add timestamps to unused log files
This will be used in expiring old unused objects. The timestamp is when it
was first noticed it was unused.
Backwards compatability: It supports reading old format unused log files.
The old version of git-annex will ignore lines in log files written by the
new version, so the worst interop problem would be git annex dropunused not
knowing some numbers that git-annex unused reported.
Diffstat (limited to 'Test.hs')
-rw-r--r-- | Test.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -683,7 +683,7 @@ test_unused env = intmpclonerepoInDirect env $ do where checkunused expectedkeys desc = do git_annex env "unused" [] @? "unused failed" - unusedmap <- annexeval $ Logs.Unused.readUnusedLog "" + unusedmap <- annexeval $ Logs.Unused.readUnusedMap "" let unusedkeys = M.elems unusedmap assertEqual ("unused keys differ " ++ desc) (sort expectedkeys) (sort unusedkeys) |