In all actions which may be hereafter brought when an injunction or restraining order may be applied for to prevent the diversion, diminution or increase of the flow of water in its natural channels, to the ordinary flow of which the plaintiff claims to be entitled, the court shall first require due notice of the application to be served upon the defendant, unless it shall appear from the verified complaint or affidavits upon which the application therefor is made, that, within ten days prior to the time of such application, the plaintiff has been in the peaceable possession of the flow of such water, and that, within such time, said plaintiff has been deprived of the flow thereof by the wrongful diversion of such flow by the defendant, or that the plaintiff, at the time of such application, is, and for ten days prior thereto, has been, in possession of the flow of said water, and that the defendant threatens to divert the flow of such water; and if such notice of such application be given and upon the hearing thereof, it be made to appear to the court that plaintiff is entitled to the injunction, but that the issuance thereof pending the litigation will entail great damage upon defendant, and that plaintiff will not be greatly damaged by the acts complained of pending the litigation, and can be fully compensated for such damage as he may suffer, the court may refuse the injunction upon the defendant giving a bond such as is provided for in section five hundred and thirty-two; and upon the trial the same proceedings shall be had, and with the same effect as in said section provided.
(Amended by Stats. 1911, Ch. 733.)