Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Poulpe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
octobus
Poulpe
Commits
5661727b
Commit
5661727b
authored
4 months ago
by
Raphaël Gomès
Browse files
Options
Downloads
Patches
Plain Diff
setup-poulpe-den: actually pass the modified environment down to hg
parent
4c60d89a
No related branches found
No related tags found
1 merge request
!38
Bunch of improvements
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/setup-poulpe-den
+4
-2
4 additions, 2 deletions
bin/setup-poulpe-den
tests/testlib/base-test-setup.sh
+1
-0
1 addition, 0 deletions
tests/testlib/base-test-setup.sh
with
5 additions
and
2 deletions
bin/setup-poulpe-den
+
4
−
2
View file @
5661727b
...
...
@@ -117,7 +117,7 @@
def
clone_hg
(
source
,
dest
):
environ
=
os
.
environ
.
copy
()
environ
[
"
HGRCPATH
"
]
=
""
environ
[
"
HGPLAIN
"
]
=
""
environ
[
"
HGPLAIN
"
]
=
"
1
"
command
=
[
"
hg
"
,
"
clone
"
,
...
...
@@ -131,8 +131,10 @@
"
--config
"
,
"
extensions.share=
"
,
"
--config
"
,
"
ui.timeout.warn=60
"
,
"
--config
"
,
"
share.poolnaming=remote
"
,
"
--config
"
,
f
"
share.pool=
{
POULPE_DIR
}
/.repos_caches
"
,
]
)
...
...
@@ -134,9 +136,9 @@
"
share.poolnaming=remote
"
,
"
--config
"
,
f
"
share.pool=
{
POULPE_DIR
}
/.repos_caches
"
,
]
)
subprocess
.
run
(
command
,
check
=
True
)
subprocess
.
run
(
command
,
check
=
True
,
env
=
environ
)
def
setup_base_dir
(
path
):
...
...
This diff is collapsed.
Click to expand it.
tests/testlib/base-test-setup.sh
+
1
−
0
View file @
5661727b
...
...
@@ -4,4 +4,5 @@
cat
<<
EOF
>>
$HGRCPATH
[ui]
quietbookmarkmove = no
timeout.warn = 60
EOF
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