summaryrefslogtreecommitdiff
path: root/Upgrade/V2.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-22 23:37:46 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-22 23:37:46 -0400
commit66ceb9270266be677bdb0731a9c95569bad37d28 (patch)
treeefe368844b777cb62ce812c7b9a5678c76aba935 /Upgrade/V2.hs
parentaad73c5721490a5679820ab9c16a8b462fa0e0f2 (diff)
docs
Diffstat (limited to 'Upgrade/V2.hs')
-rw-r--r--Upgrade/V2.hs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Upgrade/V2.hs b/Upgrade/V2.hs
index df1f62b8c..c249e340b 100644
--- a/Upgrade/V2.hs
+++ b/Upgrade/V2.hs
@@ -17,6 +17,21 @@ import Messages
import Utility
import Locations
+{- .git-annex/ moved to a git-annex branch.
+ -
+ - Strategy:
+ -
+ - * Create the git-annex branch.
+ - * Find each location log file in .git-annex/, and inject its content
+ - into the git-annex branch, unioning with any content already in
+ - there. (in passing, this deals with the semi transition that left
+ - some location logs hashed two different ways; both are found and
+ - merged).
+ - * Also inject remote.log, trust.log, and uuid.log.
+ - * git rm -rf .git-annex
+ - * Remove stuff that used to be needed in .gitattributes.
+ - * Commit changes.
+ -}
upgrade :: Annex Bool
upgrade = do
showNote "v2 to v3"