bazaar - How do I get Bzr to run an arbitrary command on commit -


When I try and am committed to a branch, I need the ability to run an arbitrary command it occurs.

This command should return 0 or any other code of failure, and if the command fails, then bzr should refuse to commit.

I want to run the test suits primarily, however, other things (for example, checking the fridge at the branch, who is trying to be committed, etc. ) I want to be able to do this

You have to write a pre-commit hook, for example check Do:


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -