revert recent lockContent change

lockContent should only be done when it's versioned
This commit is contained in:
Joey Hess 2020-12-28 16:05:14 -04:00
parent 36133f27c0
commit 0990d74574
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -165,7 +165,7 @@ adjustExportImport' isexport isimport r rs = do
then giveup "dropping content from this remote is not supported because it is configured with importtree=yes"
else removeKey r k
else removeKey r k
, lockContent = if versioned || not mergeable
, lockContent = if versioned
then lockContent r
else Nothing
, retrieveKeyFile = \k af dest p ->