release.py: Fix a few bugs, and include the release number in the candidate tarball post.
release.py: Fix a few bugs, and include the release number in the candidate
tarball post.

* tools/dist/release.py
  (post_candidates): Include the revision number, fix a syntax error and
    remove any old deploy directory.
  (main): Add revnum argument for 'post_candidates'.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion