hg push over https issue

Matt Mackall mpm at selenic.com
Thu Sep 27 19:49:57 UTC 2012


On Thu, 2012-09-27 at 04:26 -0700, praveen_m86 wrote:
> Hello All,
> 
>            I have an issue when I am trying to push 2 changesets with
> changes across 40 different files, There is a remote hook that is getting
> called on push , which is analyzing these 40 files, this takes around 5
> minutes, I get this error during that process.
> abort: HTTP Error 504: Gateway Time-out.

Something in your webserver (not Mercurial itself) got impatient and
brutally killed both the connection and Mercurial...

> The worst thing is I have  to run hg recover in the remote repository to
> rollback this interrupted transaction,

..and did so in a way that prevented Mercurial from doing its normal
transaction cleanup.

You'll either need to teach your webserver to be more patient, or change
your hook to be faster.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list