Mercurial server using IIS7 and CGI - Bad Gateway error if cloning to a specific revision

Eduard Stefan alexandrul.ct at gmail.com
Mon Aug 16 10:29:02 CDT 2010


>>   2 changesets found
>>   Status: 200 Script output follows
>>   Content-Type: application/mercurial-0.1
>
> That's your problem. Somehow that first line is leaking into the CGI
> output stream and making it invalid. It appears to be coming from here:
>
>    def changegroupinfo(self, nodes, source):
>        if self.ui.verbose or source == 'bundle':
>            self.ui.status(_("%d changesets found\n") % len(nodes))
>
> And that suggests you have [ui] verbose = True set in your hgrc
> somewhere. hgweb should probably forcibly disable verbose and debug.

Thank you, that solved the problem.

Have a nice day,
  Eduard


More information about the Mercurial-devel mailing list