[sr-dev] git:master:9581d7c0: tm: make t_append_branches return the number of added branches