If a party has appealed or declares that he intends to appeal for revision against a judgment produced in proceedings pending before a court other than that which gave it, the court hearing the case in which it is produced may, depending on the circumstances, disregard it or stay it until the application for revision has been decided by the court having jurisdiction.