mercurial/commands.py
changeset 247 863b508c5b36
parent 246 96cde50a746f
child 248 b7645b3c86ff
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -389,6 +389,10 @@ def tip(ui, repo):
 def undo(ui, repo):
     repo.undo()
 
+def verify(ui, repo):
+    """verify the integrity of the repository"""
+    return repo.verify()
+
 table = {
     "add": (add, [], "hg add [files]"),
     "addremove": (addremove, [], "hg addremove"),
@@ -436,6 +440,7 @@ table = {
     "status": (status, [], 'hg status'),
     "tip": (tip, [], 'hg tip'),
     "undo": (undo, [], 'hg undo'),
+    "verify": (verify, [], 'hg verify'),
     }
 
 norepo = "init branch help"