mercurial/commands.py
changeset 1516 0b1b029b4de3
parent 1514 faf46d810a85
child 1519 5b19dea9d4fd
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1732,7 +1732,9 @@ def recover(ui, repo):
     This command tries to fix the repository status after an interrupted
     operation. It should only be necessary when Mercurial suggests it.
     """
-    repo.recover()
+    if repo.recover():
+        return repo.verify()
+    return False
 
 def remove(ui, repo, pat, *pats, **opts):
     """remove the specified files on the next commit