revert change that broke test_readonly
commit 63d508e885
broke test_readonly.
When a local git remote is readonly, tryCopyCoW run to copy a file
from it failed at withOtherTmp.
Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
a92427c0d3
commit
7ccf642863
4 changed files with 10 additions and 27 deletions
|
@ -412,7 +412,7 @@ retrieveExportWithContentIdentifierM dir cow loc cid dest mkkey p =
|
|||
f = exportPath dir loc
|
||||
f' = fromRawFilePath f
|
||||
|
||||
docopy = ifM (tryCopyCoW cow f' dest p)
|
||||
docopy = ifM (liftIO $ tryCopyCoW cow f' dest p)
|
||||
( do
|
||||
k <- mkkey
|
||||
postcheckcow (return k)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue