Skip to content
Snippets Groups Projects
Commit 0612a5e6 authored by David M. Carr's avatar David M. Carr
Browse files

tests: unify test-help

parent d8c0ad93
No related branches found
No related tags found
No related merge requests found
hggit push and pull from a Git server
git Working with Git Repositories
For more information and instructions, see "hg help git"
Working with Git Repositories
#!/bin/sh
Tests that the various help files are properly registered
......@@ -2,3 +2,4 @@
# Tests that the various help files are properly registered
$ echo "[extensions]" >> $HGRCPATH
$ echo "hggit=$(echo $(dirname $TESTDIR))/hggit" >> $HGRCPATH
......@@ -4,7 +5,8 @@
echo "[extensions]" >> $HGRCPATH
echo "hggit=$(echo $(dirname $(dirname $0)))/hggit" >> $HGRCPATH
hg help | grep 'git' | sed 's/ */ /g'
hg help hggit | grep 'help git' | sed 's/:hg:`help git`/"hg help git"/g'
hg help git | grep 'Working with Git Repositories'
$ 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment