diff tests/test-globalopts.t @ 50989: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 950c39918bd2
children
line wrap: on
line diff
--- a/tests/test-globalopts.t	Wed Sep 13 12:25:51 2023 +0200
+++ b/tests/test-globalopts.t	Wed Jan 25 15:34:27 2023 +0100
@@ -378,6 +378,8 @@
   
   Repository maintenance:
   
+   admin::verify
+                 verify the integrity of the repository
    manifest      output the current or given revision of the project manifest
    recover       roll back an interrupted transaction
    verify        verify the integrity of the repository
@@ -513,6 +515,8 @@
   
   Repository maintenance:
   
+   admin::verify
+                 verify the integrity of the repository
    manifest      output the current or given revision of the project manifest
    recover       roll back an interrupted transaction
    verify        verify the integrity of the repository