Questions about precommit
Thomas Arendsen Hein
thomas at intevation.de
Tue Jan 31 07:45:15 UTC 2006
* Daniel Santa Cruz <byteshack at gmail.com> [20060131 00:24]:
> I have been playing around with commit/precommit hooks, and attempting
> to implement some regulations for our "production" repositories.
What about using an incoming repository with a changegroup hook
which runs 'hg update' and all tests you want and then pushes to the
production repo?
In case the tests fail you could either run 'hg undo' or just keep
the incoming directory in its fubar state so other developers can
help fixing the problem that this one developer wasn't able to on
his local machine.
Thomas
--
Email: thomas at intevation.de
http://intevation.de/~thomas/
More information about the Mercurial
mailing list