hgweb: fixes to make hg serve prefix handling more robust
adding ab renamed from a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3a renamed from b:9a263dd772e0159ddfa70fb8a448bb6c7ec8c69f% test with --revb renamed from a:b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3