changeset 17717:009db477c9fb

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.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Thu, 04 Oct 2012 01:24:05 +0900
parents 1adba7ff4d26
children 4562570ae0f7
files mercurial/commands.py tests/test-help.t
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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