hg-verify(1)

hg-verify1

Verify the integrity of the repository

Usage

hg verify

Overview

Verify the integrity of the current repository.

This will perform an extensive check of the repository's integrity, validating the hashes and checksums of each entry in the changelog, manifest, and tracked files, as well as the integrity of their crosslinks and indices.

Please see https://mercurial-scm.org/wiki/RepositoryCorruption for more information about recovery from corruption of the repository.

For an alternative UI with a lot more control over the verification process and better error reporting, try hg help admin::verify.

Returns 0 on success, 1 if errors are encountered.

Options

--full

perform more checks (EXPERIMENTAL)

From mercurial 7.2.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.