Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
mercurial
hg-git
Commits
8de310e8ec98
Commit
9cc481db
authored
Aug 20, 2020
by
Dan Villiom Podlaski Christiansen
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demandimport: add 'brotli' to ignores, so urllib3 can detect its absence
Pushing to GitHub fails under Python 2.7 without this.
#326
parent
7aec15c8f9f1
Pipeline
#13237
passed with stages
in 3 minutes and 22 seconds
Changes
1
Pipelines
6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
hggit/__init__.py
hggit/__init__.py
+5
-1
No files found.
hggit/__init__.py
View file @
8de310e8
...
...
@@ -59,10 +59,14 @@ from mercurial import (
# COMPAT: hg 4.7 - demandimport.ignore was renamed to demandimport.IGNORES and
# became a set
try
:
demandimport
.
IGNORES
.
add
(
b
'collections'
)
demandimport
.
IGNORES
|=
{
b
'collections'
,
b
'brotli'
,
# only needed in Python 2.7
}
except
AttributeError
:
# pre 4.7 API
demandimport
.
ignore
.
extend
([
b
'collections'
,
b
'brotli'
,
])
__version__
=
b
'0.9.0'
...
...
Georges Racinet
🦑
@gracinet
mentioned in issue
#338
·
Nov 21, 2020
mentioned in issue
#338
mentioned in issue #338
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment