[issue2070] hg push fails on SLES 10
Chris Pepper
bugs at mercurial.selenic.com
Wed Mar 3 21:05:19 UTC 2010
New submission from Chris Pepper <pepper at reppep.com>:
We have a SLES 10 system named toro, with Novell's latest available python
2.4 RPMs. On this system, "hg push" to Google Code repositories fails,
although "hg push" to HTTPS repos at BitBucket succeeds. Mercurial on other
systems is able to push to these GC repos successfully.
I can't find anyone else reporting this issue. But I cannot see any reason
splitting "https://pepper-test.googlecode.com/hg/" on the "://" would fail.
pepper at toro:~/mercurial/google.pepper.test> cat .hg/hgrc
[paths]
default = https://pepper-test.googlecode.com/hg/
pepper at toro:~/mercurial/google.pepper.test> hg push
pushing to https://pepper-test.googlecode.com/hg/
searching for changes
1 changesets found
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.4.3)
** Extensions loaded:
Traceback (most recent call last):
File "/usr/bin/hg", line 27, in ?
mercurial.dispatch.run()
File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 16,
in run
sys.exit(dispatch(sys.argv[1:]))
File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 30,
in dispatch
return _runcatch(u, args)
File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 46,
in _runcatch
return _dispatch(ui, args)
File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 454,
in _dispatch
return runcommand(lui, repo, cmd, fullargs, ui, options, d)
File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 324,
in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 505,
in _runcommand
return checkargs()
File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 459,
in checkargs
return cmdfunc()
File "/usr/lib64/python2.4/site-packages/mercurial/dispatch.py", line 453,
in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib64/python2.4/site-packages/mercurial/util.py", line 386, in
check
return func(*args, **kwargs)
File "/usr/lib64/python2.4/site-packages/mercurial/commands.py", line
2356, in push
r = repo.push(other, opts.get('force'), revs=revs)
File "/usr/lib64/python2.4/site-packages/mercurial/localrepo.py", line
1452, in push
return self.push_unbundle(remote, force, revs)
File "/usr/lib64/python2.4/site-packages/mercurial/localrepo.py", line
1590, in push_unbundle
return remote.unbundle(cg, remote_heads, 'push')
File "/usr/lib64/python2.4/site-packages/mercurial/httprepo.py", line 228,
in unbundle
heads=' '.join(map(hex, heads)))
File "/usr/lib64/python2.4/site-packages/mercurial/httprepo.py", line 128,
in do_read
fp = self.do_cmd(cmd, **args)
File "/usr/lib64/python2.4/site-packages/mercurial/httprepo.py", line 80,
in do_cmd
resp = self.urlopener.open(urllib2.Request(cu, data, headers))
File "/usr/lib64/python2.4/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib64/python2.4/urllib2.py", line 471, in http_response
response = self.parent.error(
File "/usr/lib64/python2.4/urllib2.py", line 396, in error
result = self._call_chain(*args)
File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib64/python2.4/urllib2.py", line 741, in http_error_401
host, req, headers)
File "/usr/lib64/python2.4/urllib2.py", line 720, in http_error_auth_reqed
return self.retry_http_basic_auth(host, req, realm)
File "/usr/lib64/python2.4/urllib2.py", line 723, in retry_http_basic_auth
user,pw = self.passwd.find_user_password(realm, host)
File "/usr/lib64/python2.4/site-packages/mercurial/url.py", line 115, in
find_user_password
auth = self.readauthtoken(authuri)
File "/usr/lib64/python2.4/site-packages/mercurial/url.py", line 152, in
readauthtoken
scheme, hostpath = uri.split('://', 1)
ValueError: need more than 1 value to unpack
pepper at toro:~/mercurial/google.pepper.test> cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 2
pepper at toro:~/mercurial/google.pepper.test> uname -a
Linux toro 2.6.16.60-0.42.9-smp #1 SMP Thu Jan 28 23:39:37 UTC 2010 x86_64
x86_64 x86_64 GNU/Linux
pepper at toro:~/mercurial/google.pepper.test> rpm -qa|grep python
python-32bit-2.4.2-18.25
python-devel-2.4.2-18.25
subversion-python-1.6.6-3.1
python-sqlite2-2.4.1-2.1
libxml2-python-2.6.23-15.9
python-2.4.2-18.25
python-xml-2.4.2-18.25
dbus-1-python-0.60-33.25
apache2-mod_python-3.3.1-2.48
----------
messages: 11918
nosy: reppep
priority: urgent
status: unread
title: hg push fails on SLES 10
topic: 1.4.3, hg, push
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2070>
____________________________________________________
More information about the Mercurial-devel
mailing list