The court in which an action of ejectment may be brought or be pending may exercise over the proceedings therein the like jurisdiction and control as heretofore exercised in the action of ejectment, so as to insure a trial of the title only, and of actual ouster when necessary, and for all other purposes for which such jurisdiction was heretofore exercised.