Bug#342730: mercurial: push and pull from local to remote repos hangs if remote repos does not exist

2006-05-12 Thread Faheem Mitha



On Fri, 12 May 2006, Daniel Kobras wrote:


On Wed, May 10, 2006 at 11:06:04PM -0400, Faheem Mitha wrote:

On Thu, 11 May 2006, Vincent Danjean wrote:


On the mercurial ML, it seems that this bug has been recently solved.
Can you confirm this to me so that I can close the bug ?
The 0.9-1 package is on my web page and in incomming (so it should be in
unstable tomorrow).


Hi. I've installed 0.9-1 on sarge. I can no longer reproduce this bug.


Same for me. Upgrading to 0.9-1 on the unstable side, and a backport of
0.9-1 on the sarge side made the hangs disappear. This bug appears to be
fixed.


Just to be clear, the patch that Benoit submitted does not fix the actual 
bug. It makes the symtoms go away. I don't think anyone knows what is 
causing the underlying problem, though there is agreement that it is not 
mercurial's fault.


For that reason it would be reasonable to close the bug, though the 
problem might reappear some time.


   Faheem.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#342730: mercurial: push and pull from local to remote repos hangs if remote repos does not exist

2006-05-12 Thread Daniel Kobras
On Wed, May 10, 2006 at 11:06:04PM -0400, Faheem Mitha wrote:
> On Thu, 11 May 2006, Vincent Danjean wrote:
> 
> >On the mercurial ML, it seems that this bug has been recently solved.
> >Can you confirm this to me so that I can close the bug ?
> >The 0.9-1 package is on my web page and in incomming (so it should be in
> >unstable tomorrow).
> 
> Hi. I've installed 0.9-1 on sarge. I can no longer reproduce this bug.

Same for me. Upgrading to 0.9-1 on the unstable side, and a backport of
0.9-1 on the sarge side made the hangs disappear. This bug appears to be
fixed.

Regards,

Daniel.

P.S.: I tried to stick with python 2.3 for my sarge backport and noticed
  that submitted_upstream__manage_import_extensions.patch uses the
  sorted() builtin that was only added in python 2.4. Maybe you want
  to point that out to upstream before they apply it?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#342730: mercurial: push and pull from local to remote repos hangs if remote repos does not exist

2006-05-10 Thread Faheem Mitha



On Thu, 11 May 2006, Vincent Danjean wrote:


On the mercurial ML, it seems that this bug has been recently solved.
Can you confirm this to me so that I can close the bug ?
The 0.9-1 package is on my web page and in incomming (so it should be in
unstable tomorrow).


Hi. I've installed 0.9-1 on sarge. I can no longer reproduce this bug.

   Faheem.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#342730: mercurial: push and pull from local to remote repos hangs if remote repos does not exist

2006-05-10 Thread Vincent Danjean
Daniel Kobras wrote:
> On Tue, Jan 31, 2006 at 10:45:08AM +0100, Vincent Danjean wrote:
>>   Daniel: which backport of mercurial do you use when you experiment
>> this bug from a sarge->unstable connection ?
> 
> First tests were done with a backport of 0.7-6, but it's still
> reproducible with a backport of 0.7-8. Haven't backported 0.8 yet. The
> connection terminates correctly when the hg command is straced, by the
> way. Weird bug.

On the mercurial ML, it seems that this bug has been recently solved.
Can you confirm this to me so that I can close the bug ?
The 0.9-1 package is on my web page and in incomming (so it should be in
unstable tomorrow).

  Best regards,
Vincent


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#342730: mercurial: push and pull from local to remote repos hangs if remote repos does not exist

2006-02-01 Thread Daniel Kobras
On Tue, Jan 31, 2006 at 10:45:08AM +0100, Vincent Danjean wrote:
>   Daniel: which backport of mercurial do you use when you experiment
> this bug from a sarge->unstable connection ?

First tests were done with a backport of 0.7-6, but it's still
reproducible with a backport of 0.7-8. Haven't backported 0.8 yet. The
connection terminates correctly when the hg command is straced, by the
way. Weird bug.

Daniel.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#342730: mercurial: push and pull from local to remote repos hangs if remote repos does not exist

2006-01-31 Thread Faheem Mitha



On Tue, 31 Jan 2006, Vincent Danjean wrote:


Can you try

Daniel Kobras wrote:

On Fri, Dec 09, 2005 at 04:41:36PM -0500, Faheem Mitha wrote:


" Suppose we are trying to push/pull between two repos using ssh://
protocol, one local and one remote, then, if the local repos exists, and 
the

remote repos does not, pushing to or pulling from the remote repos will
hang, seemingly indefinitely. "

It seems possible this is a Debian specific bug, since Benoit Boissinot 
says

he cannot reproduce it.


I do not succeed in reproducing it, me neither. Can you tell me what is
exactely your environment (linux distribution, ssh version, hg version,
specific .ssh/config options, ...) for both sides ?
 Daniel: which backport of mercurial do you use when you experiment
this bug from a sarge->unstable connection ?

 I just upload the 0.8 version of mercurial in the incomming queue. It
should be in the unstable distribution tomorrow. Can you check if the
problem is still here with this version ?


I can still reproduce the problem with 0.8, sorry.

Both machines are Debian sarge (stable) and have the following versions 
of ssh and mercurial:


ssh version: 1:3.8.1p1-8.sarge.4
mercurial version: 0.8-1 (backport from your version as posted to the 
mercurial mailing list)


ssh config files attached. Let me know if there is other information you 
need.


I'm sitting in a empty hg repository and pulling from the server. Ie.

[EMAIL PROTECTED] /tmp>mkdir hg
[EMAIL PROTECTED] /tmp>hg init
[EMAIL PROTECTED] /tmp/hg>hg pull ssh://server//tmp/hg
pulling from ssh://server//tmp/hg
requesting all changes
adding changesets
[hangs]

The directory /tmp/hg exists on the server but is not a hg repos. When I 
create the hg repos, the command completes successfully.


  Faheem.#   $OpenBSD: ssh_config,v 1.19 2003/08/13 08:46:31 markus Exp $

# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for various options

# Host *
#   ForwardAgent no
#   ForwardX11 no
#   ForwardX11Trusted yes
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   Ciphers 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
#   EscapeChar ~
# Package generated configuration file
# See the sshd(8) manpage for defails

# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768

# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 600
#PermitRootLogin yes (Changed by Faheem 19th March 2005).
PermitRootLogin no
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys

# rhosts authentication should not be used
#RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes

# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no

# Uncomment to disable s/key passwords 
#ChallengeResponseAuthentication no

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes

# Use PAM authentication via keyboard-interactive so PAM modules can
# properly interface with the user
#PAMAuthenticationViaKbdInt yes

# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no

# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes

#X11Forwarding no (changed by Faheem on 5th April 2004)
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
#PrintLastLog no
KeepAlive yes
#UseLogin no

#MaxStartups 10:30:60
#Banner /etc/issue.net
#ReverseMappingCheck yes

Bug#342730: mercurial: push and pull from local to remote repos hangs if remote repos does not exist

2006-01-31 Thread Vincent Danjean

Can you try

Daniel Kobras wrote:

On Fri, Dec 09, 2005 at 04:41:36PM -0500, Faheem Mitha wrote:


" Suppose we are trying to push/pull between two repos using ssh://
protocol, one local and one remote, then, if the local repos exists, and the
remote repos does not, pushing to or pulling from the remote repos will
hang, seemingly indefinitely. "

It seems possible this is a Debian specific bug, since Benoit Boissinot says
he cannot reproduce it.


I do not succeed in reproducing it, me neither. Can you tell me what is
exactely your environment (linux distribution, ssh version, hg version,
specific .ssh/config options, ...) for both sides ?
  Daniel: which backport of mercurial do you use when you experiment
this bug from a sarge->unstable connection ?

  I just upload the 0.8 version of mercurial in the incomming queue. It
should be in the unstable distribution tomorrow. Can you check if the
problem is still here with this version ?

  Best regards
Vincent



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#342730: mercurial: push and pull from local to remote repos hangs if remote repos does not exist

2005-12-16 Thread Daniel Kobras
On Fri, Dec 09, 2005 at 04:41:36PM -0500, Faheem Mitha wrote:
> " Suppose we are trying to push/pull between two repos using ssh://
> protocol, one local and one remote, then, if the local repos exists, and the
> remote repos does not, pushing to or pulling from the remote repos will
> hang, seemingly indefinitely. "
> 
> It seems possible this is a Debian specific bug, since Benoit Boissinot says
> he cannot reproduce it.
> 
> I can give more details if necessary, but hopefully it will be easy to
> reproduce with the Debian package.

I can reliably reproduce this behaviour from sarge systems running a
backport of mercurial 0.7-6 when connecting to one specific machine
running current unstable. With another unstable machine I only see hangs
when removing my .ssh directory, otherwise it works fine. So do
connections unstable->unstable, unstable->sarge, sarge->sarge. Puzzled.

Daniel.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#342730: mercurial: push and pull from local to remote repos hangs if remote repos does not exist

2005-12-09 Thread Faheem Mitha
Package: mercurial
Version: 0.7-7
Severity: normal

Hi,

I initially submitted this upstream (see
http://www.selenic.com/mercurial/bts/issue88)

Original report was:

" Suppose we are trying to push/pull between two repos using ssh://
protocol, one local and one remote, then, if the local repos exists, and the
remote repos does not, pushing to or pulling from the remote repos will
hang, seemingly indefinitely. "

It seems possible this is a Debian specific bug, since Benoit Boissinot says
he cannot reproduce it.

I can give more details if necessary, but hopefully it will be easy to
reproduce with the Debian package.

 Faheem.

-- System Information:
Debian Release: 3.1
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'stable'), (50, 'unstable'), (50, 
'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27.040914
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages mercurial depends on:
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  python  2.3.5-2  An interactive high-level object-o

Versions of packages mercurial recommends:
ii  kdiff30.9.88-4   compares and merges 2 or 3 files o
ii  rcs   5.7-15 The GNU Revision Control System
ii  tk8.3 [wish]  8.3.5-4Tk toolkit for Tcl and X11, v8.3 -
ii  tk8.4 [wish]  8.4.9-1Tk toolkit for Tcl and X11, v8.4 -

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]