From df81023501e2b0d930ec90cc6f5a6c6735f84818 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 27 Jan 2015 17:38:06 -0400 Subject: Repository tuning parameters can now be passed when initializing a repository for the first time. * init: Repository tuning parameters can now be passed when initializing a repository for the first time. For details, see http://git-annex.branchable.com/tuning/ * merge: Refuse to merge changes from a git-annex branch of a repo that has been tuned in incompatable ways. --- Upgrade/V1.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Upgrade') diff --git a/Upgrade/V1.hs b/Upgrade/V1.hs index 1f0dae43e..e8a7efe13 100644 --- a/Upgrade/V1.hs +++ b/Upgrade/V1.hs @@ -92,7 +92,7 @@ updateSymlinks = do case r of Nothing -> noop Just (k, _) -> do - link <- inRepo $ gitAnnexLink f k + link <- calcRepo $ gitAnnexLink f k liftIO $ removeFile f liftIO $ createSymbolicLink link f Annex.Queue.addCommand "add" [Param "--"] [f] -- cgit v1.2.3