[issue2709] Hg 1.8+ client not playing nicely with with Hg 1.5 server

The_Assimilator bugs at mercurial.selenic.com
Thu Mar 17 13:05:19 UTC 2011


New submission from The_Assimilator <the.assimilator at gmail.com>:

Our repo server is running Mercurial 1.5 and all developers are running
TortoiseHg 1.1.9 (Hg 1.7.5), and this works fine. I installed Tortoise 2.0.0
(Hg 1.8) to test it and found it didn't work with our server, so I reverted
to 1.1.9.

Today I installed Tortoise 2.0.2 (Hg 1.8.1) in the hope it would fix things,
but the issue persists. Here's a traceback:

K:\Hg>hg --repository K:\Hg\repo-name pull --verbose --debug
https://server:9998/subdir/repo/ --traceback
using https://server:9998/subdir/repo/
sending between command
using auth.server.* for authentication
server certificate successfully verified
<<< hg hangs for 2 minutes >>>
Traceback (most recent call last):
  File "mercurial\dispatch.pyo", line 58, in _runcatch
  File "mercurial\dispatch.pyo", line 601, in _dispatch
  File "mercurial\dispatch.pyo", line 406, in runcommand
  File "mercurial\dispatch.pyo", line 655, in _runcommand
  File "mercurial\dispatch.pyo", line 609, in checkargs
  File "mercurial\dispatch.pyo", line 598, in <lambda>
  File "mercurial\util.pyo", line 433, in check
  File "mercurial\extensions.pyo", line 133, in wrap
  File "mercurial\util.pyo", line 433, in check
  File "hgext\mq.pyo", line 3048, in mqcommand
  File "mercurial\util.pyo", line 433, in check
  File "mercurial\commands.pyo", line 2919, in pull
  File "mercurial\hg.pyo", line 94, in repository
  File "mercurial\httprepo.pyo", line 199, in instance
  File "mercurial\wireproto.pyo", line 68, in between
  File "mercurial\httprepo.pyo", line 137, in _call
  File "mercurial\httprepo.pyo", line 88, in _callstream
  File "urllib2.pyo", line 391, in open
  File "urllib2.pyo", line 409, in _open
  File "urllib2.pyo", line 369, in _call_chain
  File "mercurial\url.pyo", line 625, in https_open
  File "mercurial\keepalive.pyo", line 259, in do_open
URLError: <urlopen error >
abort: error:

As you can see, there's no error info returned, which makes it a little
difficult to debug what's going wrong. :) I have checked the server logs and
there appear to be no connection attempts from my machine at the time I run
Hg. (Note that the exact same repo works fine with Hg 1.7.5.)

I'd like to upgrade the server to Hg 1.8.1 as I'm sure that would fix the
issue, but this isn't possible as we don't want to break checkin/checkout
from the server for other devs. Is there a known compatibility issue between
Hg 1.8 and 1.5? Will upgrading the server to 1.8.1 while clients are using
an older Hg version break things?

For reference, server is Win 2008 R2 x64 / IIS 7.5 serving repos via
hgweb.cgi, my machine is Win7 x64.

----------
messages: 15705
nosy: The_Assimilator
priority: bug
status: unread
title: Hg 1.8+ client not playing nicely with with Hg 1.5 server

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


More information about the Mercurial-devel mailing list