Such repeal shall not affect any offense or act committed or done, or any penalty or forfeiture incurred, or any right established, accrued, or accruing, before the day this code takes effect, or any prosecution, suit or proceeding pending on that day, except that the proceedings thereafter had shall conform, so far as practicable, to the provisions of this code; and where any penalty, forfeiture or punishment is mitigated by those provisions, such provisions may, with the consent of the party affected, be applied to any judgment to be pronounced after that day; and such repeal, as to any statute of limitations, under which the bar of a right of action or remedy is complete at the time the repeal takes effect, shall not be deemed a removal of such bar, but the bar shall continue, notwithstanding such repeal.