[PATCH 01 of 15 RFC] help: add information about recovery from corruption to help of "verify"

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Wed Oct 3 11:38:58 CDT 2012


# HG changeset patch
# User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
# Date 1349281445 -32400
# Node ID 3ded599feac3543b7fea7f86e3db922cd29d2fe8
# Parent  fa714f3ed2989aff64c267c9935251d9fc4f31ee
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.

diff -r fa714f3ed298 -r 3ded599feac3 mercurial/commands.py
--- a/mercurial/commands.py	Mon Oct 01 23:05:02 2012 -0500
+++ 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)
diff -r fa714f3ed298 -r 3ded599feac3 tests/test-help.t
--- a/tests/test-help.t	Mon Oct 01 23:05:02 2012 -0500
+++ 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


More information about the Mercurial-devel mailing list