-
Notifications
You must be signed in to change notification settings - Fork 37
Details
The details view provides an in-depth look at the files and changes within a selected revision. To open the details view, press l
while a revision is selected.
In details mode, you can:
- Leave the details mode using
h
- Split selected files using
s
- Restore selected files using
r
- View the diff of the highlighted file by pressing
d
- Change the revset to show all revisions that touched the selected file by pressing
*
You can toggle file selection using m
or space
keys. These actions allow you to manage files within a revision, split changes, and restore previous states efficiently.
Press d
to show the diff of the selected file. This helps you review changes before making further modifications.
Press s
to split the selected files into two revisions:
- Selected files remain in the current revision.
- Unselected files move to a new revision. If no file is selected, the currently highlighted file will be split.
Press r
to restore the selected files to their previous state, discarding changes as needed.
Press *
to change the revset to show all revisions that have affected the highlighted file. This is useful for tracking the history of specific files.
The details view displays conflict markers next to files with conflicts, making it easy to identify and resolve issues directly from the panel.
Details mode works together with other revision operations such as rebase, squash, and abandon, providing a comprehensive workflow for managing changes in your repository.