This commit is contained in:
Joey Hess 2012-02-18 11:54:47 -04:00
parent 00340dfe49
commit 0cbbf0da79

View file

@ -52,8 +52,8 @@ setUrl key url status = do
addLog (urlLog key) =<< logNow status url
-- update location log to indicate that the web has the key, or not
us <- getUrls key
logChange key webUUID (if null us then InfoMissing else InfoPresent)
us' <- getUrls key
logChange key webUUID (if null us' then InfoMissing else InfoPresent)
setUrlPresent :: Key -> URLString -> Annex ()
setUrlPresent key url = setUrl key url InfoPresent