# hunk for sl

Review Sapling changes
without leaving the terminal.

Hunk detects Sapling repositories and accepts Sapling's own revision syntax. It turns working-copy and committed changes into a multi-file terminal review with fast navigation, split or stack layouts, expandable context, and inline agent notes.

Native sl repository supportRead as Markdown

Start reviewing

Run these commands inside a Sapling workspace:

terminal
hunk diff
hunk diff .^
hunk show .

Review tracked and unknown files

hunk diff includes Sapling working-copy changes and unknown files by default. Add --exclude-untracked when the review should contain tracked files only.

Use Sapling revisions

Pass native targets such as .^ and . directly to hunk diff or hunk show. Hunk sends them to the detected Sapling backend rather than treating them as Git refs.

Open pager output in Hunk

Set Sapling's pager to hunk pager to route patch-like command output into the review UI. Non-diff output continues through Hunk's plain-text fallback.

Use Hunk as the Sapling pager

config
# sl config -u
[pager]
pager = hunk pager

What to know

Sapling has no Git staging-area or stash commands in Hunk. Its watch mode currently polls rather than observing repository files directly.

Read the complete Sapling workflow documentation →

Hunk for other version-control systems

Try Hunk on your next Sapling changeset.