Investors & landlords

"do I still pay taxes on the capital gain?"

Yes, you do.  The holding period for your repurchase starts the day after the repurchase.

Tom Young