toString() {
        return 'Revision(' + describe({
            index: this.index,
            count: this.history.length,
            workingOnCommit: this.isWorkingOnCommit,
            head: this.history[this.index]
        }) + ')';
    }
@returns {!string} A description of the revision.