Currently hgwebdir with the baseurl option is broken, as it tries to merge double slashes even in the schema separator (the '//:' following the 'http'). The first patch is a test exhibiting the problem, the second is the fix. Any suggestion is welcome.