Details

Pressing l (as in going right into details of a revision) will open the details view of the revision you selected.

GIF

In this mode, you can:

  • Leave the details mode using h
  • Split selected files using s
  • Restore selected files using r
  • View diff of the highlighted file by pressing d
  • Change revset to files(name of the selected file) using *, effectively showing all revisions that touched that file.
  • Use J to jump to the parent revision
  • Use K to jump to the child revision

You can toggle file selection using m or space keys.

Showing diff

You can press d to show the diff of the selected file.

Splitting files in a revision

Pressing s splits the selected files into two revisions:

  • Selected files stay in the current revision.
  • Unselected files move to a new revision.

If no file is selected, the currently highlighted file will be split.

GIF

Restoring files in a revision

Pressing r restores the selected files to its previous state. (i.e. discard changes).

GIF

Show revisions that touched the file

Pressing * will change the revset to files(highligted file name); effectively showing all revisions that touched that file.

image