Show revision list
To display the revision list dialog for a configuration-managed model file, call the ShowRevisions method of the ICommonUI object.
public void ShowRevisions(ICommandContext c, ICommandParams p)
{
    var model = c.App.Workspace.CurrentModel;
    var modelUnit = model.ModelUnit;
    ICommonUI commonUi = c.App.Window.UI;
    switch (modelUnit.Type)
    {
        case "Project":
            //If the unit type is project, call the method without specifying the model unit.
            commonUi.ShowRevisions();
            break;
        case "Model":
            //If the unit type is model, call the method with the model unit specified.
            commonUi.ShowRevisions(modelUnit);
            break;
    }
}
tip
In the displayed revision list dialog, select a revision and press the "Compare with this revision" button to start comparing with the selected revision.