improve error message
This commit is contained in:
parent
b2bafdb2fc
commit
bdf6783b92
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ perform :: FilePath -> Key -> Key -> CommandPerform
|
|||
perform file oldkey newkey = do
|
||||
ifM (inAnnex oldkey)
|
||||
( unlessM (linkKey file oldkey newkey) $
|
||||
giveup "failed"
|
||||
giveup "failed creating link from old to new key"
|
||||
, unlessM (Annex.getState Annex.force) $
|
||||
giveup $ file ++ " is not available (use --force to override)"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue