From 50354a49163b8841af2024876a62e78b6caaa2b2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 24 Jun 2011 02:33:44 -0400 Subject: [PATCH] save state before message to avoid long delay after --- Upgrade/V2.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Upgrade/V2.hs b/Upgrade/V2.hs index af8f15919e..2372edb3db 100644 --- a/Upgrade/V2.hs +++ b/Upgrade/V2.hs @@ -22,6 +22,7 @@ import qualified Branch import Messages import Utility import Locations +import Content olddir :: Git.Repo -> FilePath olddir g @@ -56,6 +57,8 @@ upgrade = do Git.run g "rm" [Param "-r", Param "-f", Param "-q", File (olddir g)] unless bare $ gitAttributesUnWrite g + saveState + unless bare $ do showLongNote $ "git-annex branch created\n" ++