'hg push' hangs if used trough a ssh-tunnel
Volker Simonis
volker.simonis at gmail.com
Wed Mar 27 09:21:41 UTC 2013
Hi,
when pushing to our port repository
http://hg.openjdk.java.net/ppc-aix-port/jdk7u/ I sometimes encounter
strange hangs.
Because I am behind a corporate firewall, I have to use an SSH-tunnel to
access the repository. I'm doing the following:
hg push ssh://simonis@
<internel_tunnel_host>:<tunnel_port>/ppc-aix-port/jdk8/jdk
pushing to ssh://simonis@
<internel_tunnel_host>:<tunnel_port>/ppc-aix-port/jdk8/jdk
Enter passphrase for key '<home_dir>/.ssh/id_rsa':
searching for changes
After this message nothing more happens (for hours...). However if I
interrupt the command with <Ctrl>-C I get the following:
^Cinterrupted!
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 166 changesets with 654 changes to 470 files
remote: snapshot taken
Notice that I don't get the final line "remote: notifying
ppc-aix-port-dev at openjdk.java.net" which is usually printed after every
successfull push but the mailing list is notified nevertheless (i.e. the
push is complete and the corresponding notification mail is send to the
list after I typed <Ctrl>-C). So actually the push succeeds but I'm
nevertheless a little bit confused how long I have to wait until I can
safely interrupt the hanging push:)
I suppose that the problem is caused by the SSH-tunnel which I have to use
but I'm not sure. It only happens on the 'jdk' repository if I push many
(i.e. several hundred) changesets.
Has anybody else encountered such problems and/or does anybody knows any
workarounds?
I'm using Mercurial 2.0.2 on Ubuntu 12.04.
The tunnel host uses:
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.2
debug1: match: OpenSSH_4.2 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1
Thank you and best regards,
Volker
More information about the discuss
mailing list