Merge branch 'master' into ghc7.4
Conflicts: Utility/Misc.hs
This commit is contained in:
commit
44b115e0b1
16 changed files with 78 additions and 100 deletions
|
@ -81,7 +81,7 @@ performRemote key file backend numcopies remote = do
|
|||
t <- fromRepo gitAnnexTmpDir
|
||||
let tmp = t </> "fsck" ++ show pid ++ "." ++ keyFile key
|
||||
liftIO $ createDirectoryIfMissing True t
|
||||
let cleanup = liftIO $ catch (removeFile tmp) (const $ return ())
|
||||
let cleanup = liftIO $ catchIO (removeFile tmp) (const $ return ())
|
||||
cleanup
|
||||
cleanup `after` a tmp
|
||||
getfile tmp = do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue