httprepo: use content-type application/mercurial-0.1 for POST
Previously, application/octet-stream was used. The content-type is
currently ignored by the server.
Saint Germain <saintger@gmail.com> [Mon, 22 Feb 2010 01:19:59 +0100] rev 10522
subrepo: Update .hgsubstate in case of deleted subrepo
When a subrepo is deleted from .hgsub, it also needs to be removed from
.hgsubstate. Previous code was updating .hgsubstate only in case of newly or
modified subrepo.