The official text
Old and new, side by side
Indian Evidence Act, 1872
Section 128 Privilege not waived by volunteering evidence
If any party to a suit gives evidence therein at his own instance or otherwise, he shall not be deemed to have consented thereby to such disclosure as is mentioned in section 126; and, if any party to a suit or proceeding calls any such barrister, pleader, attorney or vakil as a witness, he shall be deemed to have consented to such disclosure only if he questions such barrister, attorney or vakil on matters which, but for such question, he would not be at liberty to disclose.
Bharatiya Sakshya Adhiniyam, 2023
Section 133 Privilege not waived by volunteering evidence
If any party to a suit gives evidence therein at his own instance or otherwise, he shall not be deemed to have consented thereby to such disclosure as is mentioned in section 132; and, if any party to a suit or proceeding calls any such advocate, as a witness, he shall be deemed to have consented to such disclosure only if he questions such advocate, on matters which, but for such question, he would not be at liberty to disclose.
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.