[issue499] hgweb: failed pretxnchangegroup hook leaves repo needing recover

Alexis S. L. Carvalho mercurial-bugs at selenic.com
Thu Feb 8 23:35:00 CST 2007


New submission from Alexis S. L. Carvalho <alexis at cecm.usp.br>:

As reported by Teemu Torma at
http://www.selenic.com/pipermail/mercurial/2007-February/012363.html , if a
pretxnchangegroup hook fails during a push over HTTP, the client gets a not very
helpful message and the server is left needing a hg recover.

We could probably handle the exception raised by the hook and send the client a
nice message without many problems.

Since the repo needs a hg recover, the transaction wasn't rolled back.  This was
probably caused by some reference cycles somewhere.

----------
messages: 2757
nosy: alexis
priority: bug
status: unread
title: hgweb: failed pretxnchangegroup hook leaves repo needing recover
topic: hgweb

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue499>
____________________________________________________



More information about the Mercurial-devel mailing list