Issue1969

Title client cannot disconnect from ssh server after a successful clone
Priority bug Status chatting
Superseder Nosy List MNemo, abuehl, pmezard, tausi0661
Assigned To Topics windows

Created on 2010-01-05.08:59:40 by tausi0661, last changed 2010-02-14.11:35:45 by tonfa.

Messages
msg11552 (view) Author: MNemo Date: 2010-01-31.19:11:02
I discovered the same problem on an Debian machine with Mercurial 1.4.1(client).

But for me disabling the Inotify extension solves the problem.
msg11371 (view) Author: tausi0661 Date: 2010-01-05.08:59:39
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@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

---------------------------------------------------------------------
History
Date User Action Args
2010-02-14 11:35:45tonfasettopic: + windows
nosy: pmezard, abuehl, MNemo, tausi0661
2010-01-31 19:11:02MNemosetstatus: unread -> chatting
nosy: + MNemo
messages: + msg11552
2010-01-10 18:21:43pmezardsetnosy: + pmezard
2010-01-05 09:07:03abuehlsetnosy: + abuehl
2010-01-05 08:59:40tausi0661create