Ability to exlude specific branches from being accepted

There may be a way to do this already - I did have a look but couldn't figure out if there was.

It'd be really useful to be able to accept all branches except for a particular one.