[sr-dev] git:master:25bec8ef: tm: use similar coding style for tm_xdata_replace as for tm_xdata_swap