avoid using renameExport on import remotes
This commit is contained in:
parent
9df9a3f82b
commit
fd2a1aaa17
2 changed files with 6 additions and 15 deletions
|
@ -173,6 +173,12 @@ adjustExportImport r = case M.lookup "exporttree" (config r) of
|
|||
removeExportWithContentIdentifier (importActions r') k loc
|
||||
=<< getknowncids db loc
|
||||
, removeExportDirectory = removeExportDirectoryWhenEmpty (importActions r')
|
||||
-- renameExport is optional, and the
|
||||
-- remote's implementation may
|
||||
-- lose modifications to the file
|
||||
-- (by eg copying and then deleting)
|
||||
-- so don't use it
|
||||
, renameExport = \_ _ _ -> return False
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue