better error message
make the branch filtering work with revision filtering