Replace revision, user, comment in commands