Steer towards deduplication
This commit is contained in:
parent
a588e58345
commit
500cf3e37e
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ start mode (srcfile, destfile) =
|
||||||
| isDirectory s = notoverwriting "(is a directory)"
|
| isDirectory s = notoverwriting "(is a directory)"
|
||||||
| otherwise = ifM (Annex.getState Annex.force)
|
| otherwise = ifM (Annex.getState Annex.force)
|
||||||
( liftIO $ nukeFile destfile
|
( liftIO $ nukeFile destfile
|
||||||
, notoverwriting "(use --force to override)"
|
, notoverwriting "(use --force to override, or a duplication option such as --deduplicate to clean up)"
|
||||||
)
|
)
|
||||||
notoverwriting why = error $ "not overwriting existing " ++ destfile ++ " " ++ why
|
notoverwriting why = error $ "not overwriting existing " ++ destfile ++ " " ++ why
|
||||||
checkdup dupa notdupa = do
|
checkdup dupa notdupa = do
|
||||||
|
|
Loading…
Add table
Reference in a new issue