| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 6 |
<meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" /> |
| 7 |
<title>hg verify</title> |
| 8 |
<link rel="stylesheet" href="../style.css" type="text/css" /> |
| 9 |
</head> |
| 10 |
<body> |
| 11 |
<div class="document" id="hg-verify"> |
| 12 |
<span id="hg-verify-1"></span> |
| 13 |
<h1 class="title">hg verify</h1> |
| 14 |
<h2 class="subtitle" id="verify-the-integrity-of-the-repository">verify the integrity of the repository</h2> |
| 15 |
|
| 16 |
<div class="contents htmlonly topic" id="contents"> |
| 17 |
<p class="topic-title"><a class="reference internal" href="#top">Contents</a></p> |
| 18 |
<ul class="simple"> |
| 19 |
<li><a class="reference internal" href="#synopsis" id="toc-entry-1">Synopsis</a></li> |
| 20 |
<li><a class="reference internal" href="#description" id="toc-entry-2">Description</a></li> |
| 21 |
<li><a class="reference internal" href="#options" id="toc-entry-3">Options</a></li> |
| 22 |
</ul> |
| 23 |
</div> |
| 24 |
<div class="section" id="synopsis"> |
| 25 |
<h1><a class="toc-backref" href="#contents">Synopsis</a></h1> |
| 26 |
<pre class="literal-block"> |
| 27 |
hg verify |
| 28 |
</pre> |
| 29 |
</div> |
| 30 |
<div class="section" id="description"> |
| 31 |
<h1><a class="toc-backref" href="#contents">Description</a></h1> |
| 32 |
<p>Verify the integrity of the current repository.</p> |
| 33 |
<p>This will perform an extensive check of the repository's |
| 34 |
integrity, validating the hashes and checksums of each entry in |
| 35 |
the changelog, manifest, and tracked files, as well as the |
| 36 |
integrity of their crosslinks and indices.</p> |
| 37 |
<p>Please see <a class="reference external" href="https://mercurial-scm.org/wiki/RepositoryCorruption">https://mercurial-scm.org/wiki/RepositoryCorruption</a> |
| 38 |
for more information about recovery from corruption of the |
| 39 |
repository.</p> |
| 40 |
<p>For an alternative UI with a lot more control over the verification |
| 41 |
process and better error reporting, try <cite>hg help admin::verify</cite>.</p> |
| 42 |
<p>Returns 0 on success, 1 if errors are encountered.</p> |
| 43 |
</div> |
| 44 |
<div class="section" id="options"> |
| 45 |
<h1><a class="toc-backref" href="#contents">Options</a></h1> |
| 46 |
<table class="docutils option-list" frame="void" rules="none"> |
| 47 |
<col class="option" /> |
| 48 |
<col class="description" /> |
| 49 |
<tbody valign="top"> |
| 50 |
<tr><td class="option-group"> |
| 51 |
<kbd><span class="option">--full</span></kbd></td> |
| 52 |
<td>perform more checks (EXPERIMENTAL)</td></tr> |
| 53 |
</tbody> |
| 54 |
</table> |
| 55 |
</div> |
| 56 |
</div> |
| 57 |
</body> |
| 58 |
</html> |