[PATCH] 1321 (partial): run Python pretxnchangegroup hooks before disk flush

Gilles Moris gilles.moris at free.fr
Fri Jan 16 06:14:09 CST 2009


On Fri January 16 2009 10:10:11 Doug Philips wrote:
> One of us is confused. If the changeset is not visible, how can 'pull' or 'incoming' or anything else see it?
> That is the beauty of the way the repo is updated, with the beauty mark/blemish being that the changeset might be rejected, but is still visible for pulling, etc.
> 

Hum! After checking, the pull is not possible during the transaction hook, as there is a lock on the repo.
So you're right, there is only a problem of visibility, and no risk to spread a rejected changeset.

Regards.
Gilles.


More information about the Mercurial-devel mailing list