# HG changeset patch # User FUJIWARA Katsunori # Date 1349281445 -32400 # Node ID 009db477c9fb17869b7ff4b1320f69fc94609578 # Parent 1adba7ff4d26e9f1ed3a977e3611bf8510020fb8 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 1adba7ff4d26 -r 009db477c9fb mercurial/commands.py --- 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) diff -r 1adba7ff4d26 -r 009db477c9fb tests/test-help.t --- 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