This appears to be fixed, as of at least rdiff-backup 1.2.8-1ubuntu2
Now there is --force required also before directories are written over.
andr...@stilgar:~$ rdiff-backup -r now temp/dest/ /tmp/
Fatal Error: Restore target /tmp already exists, specify --force to overwrite.
andr...@stilgar:~$
*
For maximum giggles, if I specify a filename as a target and the
filename already exists, I get:
Fatal Error: Restore target /tmp/bar already exists, specify --force
to overwrite.
... ?
--
rdiff-backup well restore a file over the top of a directory without warning
https://bugs.launchpad.net/