improve error message
This commit is contained in:
parent
ef013506cb
commit
ac97454659
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ perform url file = ifAnnexed file addurl geturl
|
|||
where
|
||||
geturl = do
|
||||
whenM (liftIO $ doesFileExist file) $
|
||||
error $ "already have this url in " ++ file
|
||||
error $ "not overwriting existing " ++ file
|
||||
fast <- Annex.getState Annex.fast
|
||||
if fast then nodownload url file else download url file
|
||||
addurl (key, _backend) = do
|
||||
|
|
Loading…
Add table
Reference in a new issue