[VersionControl] Moved format message to Revision.

Optimized to use Immutable text document.