Skip to content

Evolog

Evolog

Press v on a revision to open its evolution log inline below it.

Evolog has two modes: select and restore.

The evolog entries are listed below the revision. Navigate through them to inspect how the revision evolved over time.

  • j/k, pgup/pgdown: navigate entries
  • d: view the diff of the highlighted entry
  • r: switch to restore mode
  • s: split the revision at the highlighted hidden entry
  • p: toggle preview (shows the diff patch for the highlighted entry)
  • shift+p: move preview to bottom
  • esc: close evolog

The split action is available for a hidden evolog entry. It duplicates the current change, restores the selected historical state into the original change, and refreshes the revision list. This leaves the later evolution in a new change. Selecting the current visible revision does not provide a split point.

After pressing r, the evolog list hides and focus returns to the revision list. Navigate to the revision you want to restore into — it will show a << restore >> marker. Press enter to apply.

Under the hood this runs jj restore --from <evolog_commit_id> --into <target_change_id>.

  • j/k: navigate the revision list
  • enter: apply restore
  • esc: cancel and return to select mode
Contribute Community