HgWeb.cgi Hanging During Push

Jensen, Aaron ajensen at webmd.net
Fri Apr 27 21:23:17 UTC 2012


> ..and that seems to be shell output getting intermingled into the protocol stream. I'm pretty sure that's not supposed to be there either.

I've reverted all my changes on the server (I'm now running Mercurial 2.1.1 with Python 2.6).  The step %d statements are gone,  but that "1" is still there (I'm assuming that's the part of the output you're concerned with):

HTTP/1.1 200 Script output follows
Content-Type: application/mercurial-0.1
Server: Microsoft-IIS/7.0
Date: Fri, 27 Apr 2012 21:07:46 GMT
Connection: close
Content-Length: 102

1
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files

I updated my hook to call a sleep.exe program instead of using PowerShell (cmd.exe and powershell.exe interact... poorly):

     [hooks]
     pretxnchangegroup.sleep = sleep.exe 10

The 1 still shows *and* the second push still hangs.  I disabled my hook and the 1 still shows up.  

> Do you have ui.verbose enabled on the server?

No:

     $ hg showconfig ui
     ui.editor=notepad
     ui.ssh="TortoisePlink.exe" -ssh -2
     ui.username=Aaron Jensen <ajensen at webmd.net>


     <:> Aaron



More information about the Mercurial mailing list