test suite noticed a direct mode reversion

This commit is contained in:
Joey Hess 2015-12-29 17:11:28 -04:00
parent 10ecc43790
commit f3be28eedc
Failed to extract signature

View file

@ -129,6 +129,9 @@ resolveMerge' unstagedmap (Just us) them u = do
| keyUs /= keyThem -> resolveby [keyUs, keyThem] $ do
makeannexlink keyUs LsFiles.valUs
makeannexlink keyThem LsFiles.valThem
-- cleanConflictCruft can't handle unlocked
-- files, so delete here.
unless (islocked LsFiles.valUs) $
liftIO $ nukeFile file
| otherwise -> do
-- Only resolve using symlink when both