diff options
author | Joey Hess <joeyh@joeyh.name> | 2014-12-11 14:09:57 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2014-12-11 14:09:57 -0400 |
commit | 4e88f7e9af6a776347649047f2473e470a729ed9 (patch) | |
tree | baa24cac409b25155aed0bcb7e006028ab743dc4 /Command/ReKey.hs | |
parent | 9949e46e150be17320c22a096ead5ffd0fb5a8a6 (diff) |
Revert "let url claims optionally include a suggested filename"
This reverts commit bc0bf97b20c48e1d1a35d25e2e76a311c102438c.
Putting filename in the claim was a bad idea.
Diffstat (limited to 'Command/ReKey.hs')
-rw-r--r-- | Command/ReKey.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Command/ReKey.hs b/Command/ReKey.hs index a0348d858..5dadf4e60 100644 --- a/Command/ReKey.hs +++ b/Command/ReKey.hs @@ -16,7 +16,6 @@ import qualified Command.Add import Logs.Web import Logs.Location import Utility.CopyFile -import Annex.URLClaim import qualified Remote cmd :: [Command] @@ -64,7 +63,7 @@ cleanup file oldkey newkey = do -- the new key as well. urls <- getUrls oldkey forM_ urls $ \url -> do - r <- fst <$> urlClaim url + r <- Remote.claimingUrl url setUrlPresent (Remote.uuid r) newkey url -- Update symlink to use the new key. |