Hi all, webrev upload might be nice but sometimes it is necessary to un-clobber the webrev area or do a sync from scratch (additions/removals of files in repo). To be able to do so without sftp(1), I've reused already existing functionality in webrev.sh and made it available via new option -D.
The option is very similar to -U but reverts the upload (by moving the remote directory to '.trash'). It can be used with -o and -t. One difference (compared to -U) is that -D by itself (w/out -U) implicates -n. Also, if used with -t, only bottom-most directory is removed. For examples, see Public comments in CR 6771203. Aside from the deletion functionality the following changes were made: - getopts() neighborhood now has a comment to sync cdm.py - options were alphabetically sorted in webrev.1 and in usage in webrev.sh - all info messages produced by webrev.sh are aligned/centered to the colon webrev is here: http://cr.opensolaris.org/~vkotal/webrev_delete-6771203.onnv/ v.