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.
--- 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