[issue1969] client cannot disconnect from ssh server after a successful clone

timothy bugs at mercurial.selenic.com
Tue Jan 5 08:59:40 UTC 2010


New submission from timothy <tausi0661 at sina.com>:

i use freeSSHd together with Mercurial(tortoisehg-0.9.2-1-hg-1.4.2.exe) as 
an ssh server. when i clone a repository from this remote ssh server to a 
local machine, the successful message is received and all files are created 
locally, but the ssh user is still logging on and the command line doesn't 
end.
both TortoisePlink.exe and plink.exe have this.. and it happened both in 
command line and TortoiseHG window.
i need to press "Ctrl + c" to force exit the command line (need kill the 
TortoiseHG process if TortoiseHG window is used).

not very clear whether it is a bug. but i found many guys meet the same 
problem. is there any configuration entry that i need to add?

------------------command line message-------------------------
E:\>hg -v --debug --traceback clone 
ssh://root@192.168.108.128/c:/Work/Mercurial local_mercurial 
running ""C:\Program Files\TortoiseHg\TortoisePlink.exe" -ssh -2 
root at 192.168.108.128 "hg -R c:/Work
/Mercurial serve --stdio""
sending hello command
sending between command
remote: 58
remote: capabilities: unbundle lookup changegroupsubset branchmap
remote: 1
sending heads command
requesting all changes
sending changegroupsubset command
adding changesets
add changeset 766cf8fafdd8
add changeset 416db103292c
adding manifests
adding file changes
adding default.html revisions
adding test.asp revisions
adding testfolder/test01 revisions
added 2 changesets with 3 changes to 3 files
updating the branch cache
updating to branch default
resolving manifests
 overwrite False partial False
 ancestor 000000000000 local 000000000000+ remote 416db103292c
 default.html: remote created -> g
 test.asp: remote created -> g
 testfolder/test01: remote created -> g
getting default.html
getting test.asp
getting testfolder/test01
3 files updated, 0 files merged, 0 files removed, 0 files unresolved

---------------------------------------------------------------------

----------
messages: 11371
nosy: tausi0661
priority: bug
status: unread
title: client cannot disconnect from ssh server after a successful clone

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue1969>
____________________________________________________


More information about the Mercurial-devel mailing list