hg qclone causes error in hg serve
Andreas Tscharner
andy at stupidmail.ch
Tue Feb 9 14:35:13 UTC 2021
Hello World,
I tried the following:
andy at shannara:~/Mercurial$ hg init TestRepo
andy at shannara:~/Mercurial$ cd TestRepo/
andy at shannara:~/Mercurial/TestRepo$ hg init --mq
andy at shannara:~/Mercurial/TestRepo$ hg serve -p 8000 --mq --debug
listening at http://shannara.yshara.ch:8000/ (bound to *:8000)
then on another shell:
andy at shannara:~/Mercurial$ hg qclone --verbose --debug
http://localhost:8000 Clone-1
using http://localhost:8000/
sending capabilities command
using http://localhost:8000/.hg/patches
sending capabilities command
Abbruch: HTTP Error 404: Not Found
in the first shell I got the following traceback:
----------------------------------------
Exception occurred during processing of request from ('127.0.0.1', 51328)
Traceback (most recent call last):
File "/usr/lib/python3.9/socketserver.py", line 650, in
process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python3.9/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3/dist-packages/mercurial/hgweb/server.py", line
78, in __init__
httpservermod.basehttprequesthandler.__init__(self, *args, **kargs)
File "/usr/lib/python3.9/socketserver.py", line 720, in __init__
self.handle()
File "/usr/lib/python3.9/http/server.py", line 429, in handle
self.handle_one_request()
File "/usr/lib/python3.9/http/server.py", line 395, in handle_one_request
self.raw_requestline = self.rfile.readline(65537)
File "/usr/lib/python3.9/socket.py", line 704, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------
Mercurial Version:
andy at shannara:~/Mercurial$ hg version
Mercurial Distributed SCM (version 5.6.1)
(see https://mercurial-scm.org for more information)
Python3 Version:
andy at shannara:~/Mercurial$ python3 --version
Python 3.9.1+
Did I do something wrong? What should I try
TIA and best regards
Andreas
--
("`-''-/").___..--''"`-._
`o_ o ) `-. ( ).`-.__.`)
(_Y_.)' ._ ) `._ `. ``-..-'
_..`--'_..-_/ /--'_.' .'
(il).-'' (li).' ((!.-'
Andreas Tscharner andy at stupidmail.ch ICQ-No. 14356454
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20210209/6e94f941/attachment.sig>
More information about the Mercurial
mailing list