# HG changeset patch # User Henri Wiechers # Date 1261673615 -7200 # Node ID 5d868e0565f6eec7fc98b797d469bec2f7cd4daf # Parent d09bed527343b32a07ba1c6f1dfd91ff840f4a94 test-help: improve test coverage Adds a test for help on a command with no options. Extends test coverage of commands.help_ by 2 lines. diff -r d09bed527343 -r 5d868e0565f6 tests/test-help --- a/tests/test-help Thu Dec 24 18:53:34 2009 +0200 +++ b/tests/test-help Thu Dec 24 18:53:35 2009 +0200 @@ -18,6 +18,9 @@ echo %% test ambiguous command help hg help ad +echo %% test command without options +hg help verify + hg help diff hg help status hg -q help status diff -r d09bed527343 -r 5d868e0565f6 tests/test-help.out --- a/tests/test-help.out Thu Dec 24 18:53:34 2009 +0200 +++ b/tests/test-help.out Thu Dec 24 18:53:35 2009 +0200 @@ -301,6 +301,19 @@ addremove add all new files, delete all missing files use "hg -v help ad" to show aliases and global options +%% test command without options +hg verify + +verify the integrity of the repository + + Verify the integrity of the current repository. + + This will perform an extensive check of the repository's integrity, + validating the hashes and checksums of each entry in the changelog, + manifest, and tracked files, as well as the integrity of their crosslinks + and indices. + +use "hg -v help verify" to show global options hg diff [OPTION]... [-r REV1 [-r REV2]] [FILE]... diff repository (or selected files)