Weird push problem

Scott Palmer swpalmer at gmail.com
Fri Aug 12 20:54:05 UTC 2011


I'm trying to push changes to a repo I'm serving up with hgweb…  I haven't booted up the server I'm pushing to in a while, but it was working fine the last time I tried… the thing that would be different is that now I'm pushing from a more recent client version.

hg push
pushing to http://private_repo_URL_here/
searching for changes

.. does NOT ask for authorization - this is expected, it should be cache with mercurial_keyring.
.. now "sending" progress bar counts out to 12526
.. after that phase  is complete it suddenly asks for a password:

http authorization required                                                     
realm: analogideas                                                              
user: scott.palmer (fixed in .hg/hgrc)                                          
password: 
.. enter password
..indeterminate progress bar continues counting from 12526, time remaining is negative
e.g.: [ <=>   ] 17646/12526 -326s
.. counts for a while, then asks for password again..

http authorization required                                                     
realm: analogideas                                                              
user: scott.palmer (fixed in .hg/hgrc)                                          
password: 

This cycle continues several times and them the push fails:

http authorization required                                                     
realm: analogideas                                                              
user: scott.palmer (fixed in .hg/hgrc)                                          
password: 
http authorization required                                                     
realm: analogideas                                                              
user: scott.palmer (fixed in .hg/hgrc)                                          
password: 
http authorization required                                                     
realm: analogideas                                                              
user: scott.palmer (fixed in .hg/hgrc)                                          
password: 
http authorization required                                                     
realm: analogideas                                                              
user: scott.palmer (fixed in .hg/hgrc)                                          
password: 
sending [                             <=>                 ] 43841/12526 -30221s
abort: authorization failed


I don't get it.  The password is correct, I can browse via hgweb using the same credentials and that works fine.

I built the client on OS X (10.7) locally from stable branch. version is: 
$ hg --version
Mercurial Distributed SCM (version 1.9.1+2-9991f8b19ff3)
(see http://mercurial.selenic.com for more information)

Server is on Ubuntu Linux.. can't get the details right now.. it may be running 1.8  (is there anyway to get hgweb to tell me from the client side?)

I won't be able to try again after today with the same internet connection as I'm technically on vacation - using a satellite internet connection, so high latency, if that could be relevant.  When the server machine was booted into Windows 7, serving another copy of the same repo, I have pushed successfully - but at that time I was running OS X 10.6 …  This may be the first push I've done since upgrading to OS X 10.7.  I do remember having to re-install the keyring extension for on 10.7 as the python was upgraded.  So I tried again without the keyring extension, but other than this time asking for the password initially, nothing else changed.  After the first progress bar got to the end it asked for credentials again and continued counting past as the time remaining showed negative.


Regards,

Scott


More information about the Mercurial mailing list