help: add information about recovery from corruption to help of "verify"
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Thu, 04 Oct 2012 01:24:05 +0900
changeset 17717 009db477c9fb
parent 17716 1adba7ff4d26
child 17718 4562570ae0f7
help: add information about recovery from corruption to help of "verify" Before this patch, there is no information about what users should (or can) do for recovery from corruption of repositories. This patch adds URL of the Mercurial Wiki page explaining about recovery from corruption.
mercurial/commands.py
tests/test-help.t
--- a/mercurial/commands.py	Mon Sep 03 14:35:31 2012 +0200
+++ b/mercurial/commands.py	Thu Oct 04 01:24:05 2012 +0900
@@ -5879,6 +5879,10 @@
     the changelog, manifest, and tracked files, as well as the
     integrity of their crosslinks and indices.
 
+    Please see http://mercurial.selenic.com/wiki/RepositoryCorruption
+    for more information about recovery from corruption of the
+    repository.
+
     Returns 0 on success, 1 if errors are encountered.
     """
     return hg.verify(repo)
--- a/tests/test-help.t	Mon Sep 03 14:35:31 2012 +0200
+++ b/tests/test-help.t	Thu Oct 04 01:24:05 2012 +0900
@@ -392,6 +392,9 @@
       manifest, and tracked files, as well as the integrity of their crosslinks
       and indices.
   
+      Please see http://mercurial.selenic.com/wiki/RepositoryCorruption for more
+      information about recovery from corruption of the repository.
+  
       Returns 0 on success, 1 if errors are encountered.
   
   use "hg -v help verify" to show more info