Where the seller sues for the price he must hold for the buyer any goods which have been identified to the contract and are still in his control except that if resale becomes possible he may resell them at any time prior to the collection of the judgment. The net proceeds of any such resale must be credited to the buyer and payment of the judgment entitles him to any goods not resold.
After the buyer has wrongfully rejected or revoked acceptance of the goods or has failed to make a payment due or has repudiated (§47-2-610), a seller who is held not entitled to the price under this section shall nevertheless be awarded damages for nonacceptance under the preceding section.