Using the latest development rsync, if I push files to a daemon with --only-write-batch, the daemon makes some of the changes to the destination and then hangs. The run should finish with no changes made to the destination.
To reproduce, run the following in an empty directory:
sh instant-daemon.sh module 3141 user
(Choose a password and enter it twice)
ln -s . upload/me
echo foo >upload/file
rsync -rl --only-write-batch=thebatch upload/ rsync://user@localhost:3141/module/
(Enter the password)
(When the process hangs, press ^C)
ls -la module
(Note that the symlink was copied.)
I have checked in a fix for this. Thanks for finding the problem!
Aside: your instant-daemon.sh script should set mode 600 on the secret file or the daemon might refuse to use it.