375. If the application is instituted in the course of, or as incidental to, a pending action, whether of regular or summary procedure, the petition shall be headed with
a reference to its number in the court, and the names of the parties thereto, and shall be filed as part of the record of such action, and all proceedings taken and orders made on such petition shall be duly entered in the journal required to be kept by section 92. *If incidental to an action, petition to be entitled therein.*