Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
heroku-buildpack-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evili del Rio i Silvan
heroku-buildpack-python
Commits
05e3d8cc
Commit
05e3d8cc
authored
7 years ago
by
Kenneth Reitz
Browse files
Options
Downloads
Patches
Plain Diff
fix mercurial step
Signed-off-by:
Kenneth Reitz
<
me@kennethreitz.org
>
parent
2f18118c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/steps/mercurial
+5
-2
5 additions, 2 deletions
bin/steps/mercurial
vendor/pip-pop/pip-grep
+2
-1
2 additions, 1 deletion
vendor/pip-pop/pip-grep
with
7 additions
and
3 deletions
bin/steps/mercurial
+
5
−
2
View file @
05e3d8cc
#!/usr/bin/env bash
# Install Mercurial if it appears to be required.
if
(
grep
-Fiq
"hg+"
requirements.txt
)
then
/app/.heroku/python/bin/pip
install
mercurial | cleanup | indent
if
[[
-f
"requirements.txt"
]]
;
then
if
(
grep
-Fiq
"hg+"
requirements.txt
)
then
/app/.heroku/python/bin/pip
install
mercurial | cleanup | indent
fi
fi
This diff is collapsed.
Click to expand it.
vendor/pip-pop/pip-grep
+
2
−
1
View file @
05e3d8cc
...
...
@@ -8,6 +8,7 @@ Options:
-h --help Show this screen.
"""
import
os
import
sys
from
docopt
import
docopt
from
pip.req
import
parse_requirements
from
pip.index
import
PackageFinder
...
...
@@ -73,5 +74,5 @@ if __name__ == '__main__':
try
:
main
()
except
Exception
:
pass
sys
.
exit
(
1
)
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