[sr-dev] git:master:027ca1b2: tm: small helper functions to get/set current T and branch