If such appeal be from a judgment in favor of the appellant, costs shall be adjudged as follows: if upon the trial anew, the appellant shall not recover more than the judgment below, he shall pay the costs of the appellate court; if he recover nothing, the costs shall be adjudged against him in both courts; if he recover more than the judgment below, he shall recover costs in both courts.
NMS § 39-2-6