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
bc9ca4d5
Commit
bc9ca4d5
authored
19 years ago
by
Bryan O'Sullivan
Browse files
Options
Downloads
Plain Diff
Merge IPv6 fix.
parents
c2e77581
16ce690c
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
mercurial/hgweb.py
+6
-1
6 additions, 1 deletion
mercurial/hgweb.py
with
6 additions
and
1 deletion
mercurial/hgweb.py
+
6
−
1
View file @
bc9ca4d5
...
...
@@ -708,7 +708,12 @@
import
BaseHTTPServer
class
IPv6HTTPServer
(
BaseHTTPServer
.
HTTPServer
):
address_family
=
socket
.
AF_INET6
address_family
=
getattr
(
socket
,
'
AF_INET6
'
,
None
)
def
__init__
(
self
,
*
args
,
**
kwargs
):
if
self
.
address_family
is
None
:
raise
RepoError
(
'
IPv6 not available on this system
'
)
BaseHTTPServer
.
HTTPServer
.
__init__
(
self
,
*
args
,
**
kwargs
)
class
hgwebhandler
(
BaseHTTPServer
.
BaseHTTPRequestHandler
):
def
log_error
(
self
,
format
,
*
args
):
...
...
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