What? A very muddled question or ideas on what is taxable.
The tax if any is due upon each part of th transaction...not dependent on a condition subsequent... a repurchase or whatever....and how could that change the tax?
Your not thinking that because you sell something and then buy it back at a later time that it wouldn't be a taxable transaction are you?