Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
hg-git
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
hg-git
Commits
0612a5e6
Commit
0612a5e6
authored
12 years ago
by
David M. Carr
Browse files
Options
Downloads
Patches
Plain Diff
tests: unify test-help
parent
d8c0ad93
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test-help.out
+0
-4
0 additions, 4 deletions
tests/test-help.out
tests/test-help.t
+10
-8
10 additions, 8 deletions
tests/test-help.t
with
10 additions
and
12 deletions
tests/test-help.out
deleted
100644 → 0
+
0
−
4
View file @
d8c0ad93
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
This diff is collapsed.
Click to expand it.
tests/test-help
→
tests/test-help
.t
+
10
−
8
View file @
0612a5e6
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment