[Bug 4011] New: qclone
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Wed Aug 7 07:00:00 UTC 2013
http://bz.selenic.com/show_bug.cgi?id=4011
Priority: normal
Bug ID: 4011
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: qclone
Severity: bug
Classification: Unclassified
OS: Windows
Reporter: lorenzo.cappelletti at gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: 2.7
Component: hgweb
Product: Mercurial
If I try to qclone a repository, the command fails with a "abort: HTTP Error
404: Not Found".
What follows is a command sequence which reproduces the problem in a cygwin
environment.
$ alias hg='/cygdrive/c/Program\ Files/TortoiseHg/hg.exe'; \
mkdir repo; \
cd repo; \
hg init; \
hg qinit -c; \
(hg serve --debug &); \
cd ..; \
hg qclone http://localhost:8000/ repo.clone
The hgweb server outputs this:
listening at http://ITLAV093.gunnebo.net:8000/ (bound to *:8000)
127.0.0.1 - - [07/Aug/2013 08:41:48] "GET /?cmd=capabilities HTTP/1.1" 200 -
127.0.0.1 - - [07/Aug/2013 08:41:49] "GET /.hg/patches?cmd=capabilities
HTTP/1.1" 404 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 63020)
Traceback (most recent call last):
File "SocketServer.pyo", line 582, in process_request_thread
File "SocketServer.pyo", line 323, in finish_request
File "mercurial\hgweb\server.pyo", line 48, in __init__
File "SocketServer.pyo", line 638, in __init__
File "BaseHTTPServer.pyo", line 342, in handle
File "BaseHTTPServer.pyo", line 310, in handle_one_request
File "socket.pyo", line 476, in readline
error: [Errno 10054] An existing connection was forcibly closed by the remote
host
----------------------------------------
PS: it works if two servers are fired up:
$ alias hg='/cygdrive/c/Program\ Files/TortoiseHg/hg.exe'; \
rm -rf repo; \
mkdir repo; \
cd repo; \
hg init; \
hg qinit -c; \
(hg serve --debug --port 8000 &); \
(hg serve --debug --port 8001 --mq &); \
cd ..; \
hg qclone --patches http://localhost:8001/ http://localhost:8000/ repo.clone
no changes found
no changes found
updating to branch default
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
Servers outputs:
listening at http://ITLAV093.gunnebo.net:8000/ (bound to *:8000)
listening at http://ITLAV093.gunnebo.net:8001/ (bound to *:8001)
127.0.0.1 - - [07/Aug/2013 08:55:40] "GET /?cmd=capabilities HTTP/1.1" 200 -
127.0.0.1 - - [07/Aug/2013 08:55:41] "GET /?cmd=capabilities HTTP/1.1" 200 -
127.0.0.1 - - [07/Aug/2013 08:55:41] "GET /?cmd=lookup HTTP/1.1" 200 -
x-hgarg-1:key=qbase
127.0.0.1 - - [07/Aug/2013 08:55:42] "GET /?cmd=capabilities HTTP/1.1" 200 -
127.0.0.1 - - [07/Aug/2013 08:55:42] "GET /?cmd=batch HTTP/1.1" 200 -
x-hgarg-1:cmds=heads+%3Bknown+nodes%3Dlisting keys for "phases"
127.0.0.1 - - [07/Aug/2013 08:55:42] "GET /?cmd=listkeys HTTP/1.1" 200 -
x-hgarg-1:namespace=phaseslisting keys for bookmarks"
127.0.0.1 - - [07/Aug/2013 08:55:42] "GET /?cmd=listkeys HTTP/1.1" 200 -
x-hgarg-1:namespace=bookmarks127.0.0.1 - - [07/Aug/2013 08:55:43] "GET
/?cmd=capabilities HTTP/1.1" 200 - 127.0.0.1 - - [07/Aug/2013 08:55:43] "GET
/?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3Dlisting keys
for "phases"
127.0.0.1 - - [07/Aug/2013 08:55:43] "GET /?cmd=listkeys HTTP/1.1" 200 -
x-hgarg-1:namespace=phaseslisting keys for "bookmarks"
127.0.0.1 - - [07/Aug/2013 08:55:43] "GET /?cmd=listkeys HTTP/1.1" 200 -
x-hgarg-1:namespace=bookmarks
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list