[Bug 5795] New: Server side evolve crashes with current default branch
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Sat Feb 17 04:48:24 UTC 2018
https://bz.mercurial-scm.org/show_bug.cgi?id=5795
Bug ID: 5795
Summary: Server side evolve crashes with current default branch
Product: Mercurial
Version: default branch
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: bug
Priority: normal
Component: evolution
Assignee: bugzilla at mercurial-scm.org
Reporter: matt_harbison at yahoo.com
CC: mercurial-devel at mercurial-scm.org,
pierre-yves.david at ens-lyon.org
With hg 2234fe1af5dd and evolve 152daa6967af, a pull from `hg serve` results in
this on the server side:
$ ../hg --config extensions.lfs= --config extensions.narrow= -R
"C:\Users\Matt\Downloads\bug_5794\bug_5794" serve
listening at http://Envy:8000/ (bound to *:8000)
127.0.0.1 - - [16/Feb/2018 23:39:48] "GET /?cmd=capabilities HTTP/1.1" 500 -
127.0.0.1 - - [16/Feb/2018 23:39:48] Exception happened during processing
request '/?cmd=capabilities':
Traceback (most recent call last):
File "c:\Users\Matt\projects\hg\mercurial\hgweb\server.py", line 101, in
do_POST
self.do_write()
File "c:\Users\Matt\projects\hg\mercurial\hgweb\server.py", line 94, in
do_write
self.do_hgweb()
File "c:\Users\Matt\projects\hg\mercurial\hgweb\server.py", line 173, in
do_hgweb
for chunk in self.server.application(env, self._start_response):
File "c:\Users\Matt\projects\hg\mercurial\hgweb\hgweb_mod.py", line 324, in
run_wsgi
for r in self._runwsgi(req, repo):
File "c:\Users\Matt\projects\hg\mercurial\hgweb\hgweb_mod.py", line 374, in
_runwsgi
return protohandler['dispatch']()
File "c:\Users\Matt\projects\hg\mercurial\wireprotoserver.py", line 213, in
<lambda>
'dispatch': lambda: _callhttp(repo, req, proto, cmd),
File "c:\Users\Matt\projects\hg\mercurial\wireprotoserver.py", line 269, in
_callhttp
rsp = wireproto.dispatch(repo, proto, cmd)
File "c:\Users\Matt\projects\hg\mercurial\wireproto.py", line 502, in
dispatch
return func(repo, proto, *args)
File "C:/Users/Matt/Projects/hg-evolve/hgext3rd\evolve\obsexchange.py", line
131, in newcap
return _obscommon_capabilities(oldcap, repo, proto)
File "C:/Users/Matt/Projects/hg-evolve/hgext3rd\evolve\obsexchange.py", line
107, in _obscommon_capabilities
caps = orig(repo, proto)
File "C:/Users/Matt/Projects/hg-evolve/hgext3rd\evolve\obsdiscovery.py", line
862, in newcap
return _obshash_capabilities(oldcap, repo, proto)
File "C:/Users/Matt/Projects/hg-evolve/hgext3rd\evolve\obsdiscovery.py", line
843, in _obshash_capabilities
caps = caps.split()
AttributeError: 'bytesresponse' object has no attribute 'split'
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list