tm: copy branch flags in the new branch created by the dns failover