diff options
author | 2012-01-28 15:41:52 -0400 | |
---|---|---|
committer | 2012-01-28 15:41:52 -0400 | |
commit | b81d662cbf0036d0e2b632ed95a877feab2a4860 (patch) | |
tree | 210d8138f9cde552ebe450fbbdc2a6d6508086b2 /Upgrade/V2.hs | |
parent | 303666965ab5bc891c8ed44969553afb642c3f9c (diff) |
Avoid repeated location log commits when a remote is receiving files.
Done by adding a oneshot mode, in which location log changes are written to
the journal, but not committed. Taking advantage of git-annex's existing
ability to recover in this situation.
This is used by git-annex-shell and other places where changes are made to
a remote's location log.
Diffstat (limited to 'Upgrade/V2.hs')
-rw-r--r-- | Upgrade/V2.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Upgrade/V2.hs b/Upgrade/V2.hs index ffc2f6002..c57b0bf68 100644 --- a/Upgrade/V2.hs +++ b/Upgrade/V2.hs @@ -50,7 +50,7 @@ upgrade = do mapM_ (\(k, f) -> inject f $ logFile k) =<< locationLogs mapM_ (\f -> inject f f) =<< logFiles old - saveState + saveState False showProgress when e $ do |