Allow the version to be set during DiffX construction.

Review Request #11761 — Created July 31, 2021 and submitted — Latest diff uploaded

Information

DiffX
master

Reviewers

The DiffX object now allows the version option to be set. This is
important for consumers that need to construct this object based on
existing data.

Only supported versions can be set. Unsupported versions will result in
an error.

Unit tests pass.

Ran into this with Review Board's implementation. Verified this fixed
the object construction.

Commits

Files