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/RmUrl.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/RmUrl.hs')
-rw-r--r-- | Command/RmUrl.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Command/RmUrl.hs b/Command/RmUrl.hs index 737c935c5..570004266 100644 --- a/Command/RmUrl.hs +++ b/Command/RmUrl.hs @@ -10,7 +10,6 @@ module Command.RmUrl where import Common.Annex import Command import Logs.Web -import Annex.URLClaim import qualified Remote cmd :: [Command] @@ -28,7 +27,7 @@ start (file, url) = flip whenAnnexed file $ \_ key -> do cleanup :: String -> Key -> CommandCleanup cleanup url key = do - r <- fst <$> urlClaim url + r <- Remote.claimingUrl url let url' = if Remote.uuid r == webUUID then url else setDownloader url OtherDownloader |