Issue 771 - Filter master cannot deal with branches

--HG--
extra : rebase_source : 493dc8f850a51f52c3a5327254a2c5f7747ec2e6