diff mercurial/commands.py @ 50997:752c5a5b73c6

admin-command: add verify command Start using the 'admin' namespace by adding a 'verify' command. Invocation is 'admin::verify'. The idea is to progressively add more focused checks than the existing verify command. To do so we need an advanced way to express what we want to check. The first check for admin::verify is 'working-copy.dirstate' which has no options, because it was an easy first check to implement, which verifies the integrity of the dirstate. This changeset was created with the help of Franck Bret.
author Rapha?l Gom?s <rgomes@octobus.net>
date Wed, 25 Jan 2023 15:34:27 +0100
parents 727428c7e1fc
children c17cf2d51ff4 d6e5bec550f1
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Sep 13 12:25:51 2023 +0200
+++ b/mercurial/commands.py	Wed Jan 25 15:34:27 2023 +0100
@@ -7961,6 +7961,9 @@
     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.
     """
     level = None