mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
8d69bf5e9a
Thanks to Felipe Contreras for the patch which this was based on. Even though the MQ extension was only used in a single test (test-pull-after-strip.t), I included it in the testutil. It shouldn't hurt anything to have it enabled and not used, and saves us from having to deal with enabling extensions in individual tests at all. Similarly, this changeset results in the graphlog extension being enabled for all tests, even though there were some that didn't use it before. This is even less significant in Mercurial 2.3+, since in those versions, graphlog is part of core, and is available even when the extension is disabled.
13 lines
460 B
Perl
Executable File
13 lines
460 B
Perl
Executable File
Tests that the various help files are properly registered
|
|
|
|
Load commonly used test logic
|
|
$ . "$TESTDIR/testutil"
|
|
|
|
$ hg help | grep 'git' | sed 's/ */ /g'
|
|
hggit push and pull from a Git server
|
|
git Working with Git Repositories
|
|
$ hg help hggit | grep 'help git' | sed 's/:hg:`help git`/"hg help git"/g'
|
|
For more information and instructions, see "hg help git"
|
|
$ hg help git | grep 'Working with Git Repositories'
|
|
Working with Git Repositories
|