blackbox: just try writing to repo.vfs and update lastlogger on success
This is simpler and more robust. Before, an empty ".hg" directory would be
created if it's removed after checking vfs.isdir('.').
#require docutils gettext $ $TESTDIR/check-gendoc sv checking for parse errors