hgweb: don't raise an exception when displying empty repos
The nullid node claims it's in the default branch, but the branch dict
is empty. This fixes the main symptom from
issue696, but we may want
to set branchtags()['default'] = nullid somewhere for empty repos.
make identify an optionalrepo command
Fixes
issue726.
copy: if destination ends with "/", make sure it's a directory
Fixes
issue724.