Any person owning or claiming any property, or a lien thereon, which has been attached in any proceeding to which he is not a party may intervene therein at any time before the trial thereof begins, by filing a petition, under oath, setting up his right, and thereafter said cause shall proceed as in other cases of intervention.
NMS § 42-9-29