Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
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
Environments
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
mercurial-devel
Commits
68bc85f46fe3
Commit
68bc85f46fe3
authored
7 years ago
by
durin42
Browse files
Options
Downloads
Patches
Plain Diff
tests: update test-requires to pass our import checker
parent
a37417e30a1f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test-requires.t
+2
-1
2 additions, 1 deletion
tests/test-requires.t
with
2 additions
and
1 deletion
tests/test-requires.t
+
2
−
1
View file @
68bc85f4
...
...
@@ -32,7 +32,8 @@
$
echo
'
featuresetup-test
'
>>
supported
/.hg/
requires
$
cat
>
$TESTTMP
/supported-locally/suppo
rtlocally
.
py
<<
EOF
>
from
mercurial
import
localrepo
,
extensions
>
from
__future__
import
absolute_import
>
from
mercurial
import
extensions
,
localrepo
>
def
featuresetup
(
ui
,
supported
):
>
for
name
,
module
in
extensions
.
extensions
(
ui
):
>
if
__name__
==
module
.
__name__:
...
...
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