change revision.text and .comment to Text and Comment instead of str