commit new text with revisions