Search in sources :

Example 1 with DifferenceReverter

use of com.intellij.history.integration.revertion.DifferenceReverter in project intellij-community by JetBrains.

the class FileHistoryDialogModel method createReverter.

@Override
public Reverter createReverter() {
    Revision l = getLeftRevision();
    Revision r = getRightRevision();
    return new DifferenceReverter(myProject, myVcs, myGateway, l.getDifferencesWith(r), l);
}
Also used : Revision(com.intellij.history.core.revisions.Revision) DifferenceReverter(com.intellij.history.integration.revertion.DifferenceReverter)

Aggregations

Revision (com.intellij.history.core.revisions.Revision)1 DifferenceReverter (com.intellij.history.integration.revertion.DifferenceReverter)1