fix logic error in thirdPartyPopulated handling

This commit is contained in:
Joey Hess 2020-12-21 13:24:07 -04:00
parent ca31d7e54f
commit 706e2a63fb
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -107,7 +107,7 @@ adjustExportImport r rs = do
-- When thirdPartyPopulated is True, the remote
-- does not need to be configured with importTree to support
-- imports.
isimport <- pure (importTree (config r) || not (thirdPartyPopulated (remotetype r)))
isimport <- pure (importTree (config r) || thirdPartyPopulated (remotetype r))
<&&> isImportSupported r
let r' = r
{ remotetype = (remotetype r)