The official text
Old and new, side by side
Indian Evidence Act, 1872
Section 125 Information as to commission of offences
No Magistrate or police-officer shall be compelled to say whence he got any information as to the commission of any offence, and no revenue- officer shall be compelled to say whence he got any information as to the commission of any offence against the public revenue.
Explanation.–– “Revenue-officer” in this section means any officer employed in or about the business of any branch of the public revenue.
Bharatiya Sakshya Adhiniyam, 2023
Section 131 Information as to commission of offences
No Magistrate or police officer shall be compelled to say when he got any information as to the commission of any offence, and no revenue officer shall be compelled to say when he got any information as to the commission of any offence against the public revenue.
Explanation.—“revenue officer” means any officer employed in or about the business of any branch of the public revenue.
The texts are India Code’s. The amendment markers and footnotes of the official print are left out, so the old section reads as it stood when it was repealed. The PDFs linked below carry the full history.