If a partnership files an election, in accordance with regulations prescribed by the Secretary, the basis of partnership property shall be adjusted, in the case of a distribution of property, in the manner provided in section 734 and, in the case of a transfer of a partnership interest, in the manner provided in section 743. Such an election shall apply with respect to all distributions of property by the partnership and to all transfers of interests in the partnership during the taxable year with respect to which such election was filed and all subsequent taxable years. Such election may be revoked by the partnership, subject to such limitations as may be provided by regulations prescribed by the Secretary.