diff options
author | Joey Hess <joey@kitenet.net> | 2012-02-08 15:49:42 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-02-08 15:49:42 -0400 |
commit | ac9745465954d77d7215e4d7411a3c218203643d (patch) | |
tree | 5505e095c9c74d5c3889936f3b2066c3768f6a3f /Command/AddUrl.hs | |
parent | ef013506cb8c82d547160195b66572b5774db14f (diff) |
improve error message
Diffstat (limited to 'Command/AddUrl.hs')
-rw-r--r-- | Command/AddUrl.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs index 600a6169d..2f157c7fd 100644 --- a/Command/AddUrl.hs +++ b/Command/AddUrl.hs @@ -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 |