There is no repayment for the purposes of s. 20(1)(hh) when shares are converted to a debt security and the parties are in essentially the same situation before and after the conversion. There also is no repayment of the debt if it is assumed by another taxpayer in connection with the transfer to that other taxpayer of the assets for which the loan was contracted.