No such repeal nor any amendment or revision of the Constitution of Virginia shall affect any offense or act committed or done, or any penalty or forfeiture incurred, or any right established, accrued, or accruing before the day upon which such repeal, amendment or revision 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, amendment or revision as to any statute of limitations, under which the bar of a right of action or remedy is complete at the time the repeal, amendment or revision takes effect, shall not be deemed a removal of such bar, but the bar shall continue, notwithstanding such repeal, amendment or revision.
Va. Code § 1-4