UndoReport

What Repo.undo reversed, could not reverse, and left alone.

Usage

Source

UndoReport(
    op, undo_id="", restored=list(), irreversible=list(), skipped=list()
)

Attributes

op: OpEntry

The operation that was undone.

undo_id: str

Id of the undo entry appended to the op log.

restored: list[str]

What was put back (one line each).

irreversible: list[str]

What the stores no longer allow to be put back.

skipped: list[str]
Parts that no longer applied (e.g. the working copy had moved).