That will always fail. It already skipped doing this when exporttree=yes.
* sync: Fix locking problems during merge when annex.pidlock is set.
* Avoid a problem with temp file names ending in "." on certian
filesystems that have problems with such filenames.
+ * sync, push: Avoid trying to send individual files to special remotes
+ configured with importtree=yes exporttree=no, which would always fail.
-- Joey Hess <id@joeyh.name> Thu, 30 Nov 2023 14:48:12 -0400
wantput r
| pushOption o == False && operationMode o /= SatisfyMode = return False
| Remote.readonly r || remoteAnnexReadOnly (Remote.gitconfig r) = return False
- | isExport r = return False
+ | isExport r || isImport r = return False
| isThirdPartyPopulated r = return False
| otherwise = wantGetBy True (Just k) af (Remote.uuid r)
handleput lack inhere
--- /dev/null
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 5"""
+ date="2023-12-26T19:44:23Z"
+ content="""
+I reproduced it with the current version and a remote set up with:
+
+ git-annex initremote test type=directory directory=../d encryption=none exporttree=no importtree=yes
+ git config remote.directory.annex-tracking-branch master
+
+Fixed for tomorrow's release.
+"""]]