If a judgment is stayed in the manner prescribed in this subchapter after an execution shall have been issued thereon, the justice of the peace shall revoke the execution in the same manner and with like effect as he is directed to revoke an execution after an appeal has been allowed.