Are there any plans to support an "rmdir" action?

This would be different from "rm", in that it would only work on
directories, and would only succeed if the directory was empty.

The "rmdir" action would be very useful in automating parts of the ASF
svnpubsub process.

E.g. where a known set of files uploaded to an RCn staging directory
need to be moved to a release directory.
The target will in general already contain files (so directory renames
are not possible), and anyway the staging directory structure may be
different.

It would be useful to be able to have a script that:
- renames all the files that are supposed to be in the staging dir
- deletes the staging directory, but fails if it is not empty.

Thoughts?

Reply via email to