7cef5e8f35
When a file in the export is renamed, and the remote's renameExport returned Nothing, renaming to the temp file would first say it was renaming, and appear to succeed, but actually what it did was delete the file. Then renaming from the temp file would not do anything, since the temp file is not present on the remote. This appeared as if a file got renamed to a temp file and left there. Note that exporttree=yes importree=yes remotes have their usual renameExport replaced with one that returns Nothing. (For reasons explained in Remote.Helper.ExportImport.) So this happened even with remotes that support renameExport. Fix by letting renameExport = Nothing when it's not supported at all. This avoids displaying the rename. Sponsored-by: Graham Spencer on Patreon |
||
---|---|---|
.. | ||
Chunked | ||
AWS.hs | ||
Chunked.hs | ||
Encryptable.hs | ||
ExportImport.hs | ||
Git.hs | ||
Hooks.hs | ||
Http.hs | ||
Messages.hs | ||
P2P.hs | ||
Path.hs | ||
ReadOnly.hs | ||
Special.hs | ||
Ssh.hs | ||
ThirdPartyPopulated.hs |