Checkout history re-write