glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] mercurial updated to 0.9.3


From: Kai Antweiler
Subject: Re: [glob2-devel] mercurial updated to 0.9.3
Date: Fri, 27 Apr 2007 19:32:18 +0200

Strangly, your connections problems do not appear in
apache's error log. Could it be that the new version of mercurial forbides
https push? Can you try with a verbose mode?

# hg -v --debug push https://hg.globulation2.org/glob2
pushing to https://hg.globulation2.org/glob2
sending capabilities command
http authorization required
realm: Enter your globulation 2 mercurial username
user: snth
password:
capabilities: lookup changegroupsubset unbundle=HG10GZ,HG10BZ,HG10UN
sending heads command
searching for changes
common changesets up to b371d8df4dc9 dc55184de3b4
1 changesets found
List of changesets:
03df7b4412fe76476bb3a65bad3bfbf4f1670119
sending unbundle command
sending 838 bytes
abort: authorization failed


********************************************************************************


And I did another push with deliberately using a wrong password:

# hg -v --debug push https://hg.globulation2.org/glob2
pushing to https://hg.globulation2.org/glob2
sending capabilities command
http authorization required
realm: Enter your globulation 2 mercurial username
user: snth
password:
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or address@hidden
** Mercurial Distributed SCM (version 0.9.3)
Traceback (most recent call last):
 File "/usr/bin/hg", line 12, in ?
   commands.run()
 File "/usr/lib64/python2.4/site-packages/mercurial/commands.py",
line 3000, in run
   sys.exit(dispatch(sys.argv[1:]))
 File "/usr/lib64/python2.4/site-packages/mercurial/commands.py",
line 3223, in dispatch
   return d()
 File "/usr/lib64/python2.4/site-packages/mercurial/commands.py",
line 3182, in <lambda>
   d = lambda: func(u, repo, *args, **cmdoptions)
 File "/usr/lib64/python2.4/site-packages/mercurial/commands.py",
line 1971, in push
   r = repo.push(other, opts['force'], revs=revs)
 File "/usr/lib64/python2.4/site-packages/hgext/mq.py", line 2025, in push
   return super(mqrepo, self).push(remote, force, revs)
 File "/usr/lib64/python2.4/site-packages/mercurial/localrepo.py",
line 1359, in push
   if remote.capable('unbundle'):
 File "/usr/lib64/python2.4/site-packages/mercurial/repo.py", line
22, in capable
   for cap in self.capabilities:
 File "/usr/lib64/python2.4/site-packages/mercurial/httprepo.py",
line 211, in get_caps
   self.caps = self.do_read('capabilities').split()
 File "/usr/lib64/python2.4/site-packages/mercurial/httprepo.py",
line 275, in do_read
   fp = self.do_cmd(cmd, **args)
 File "/usr/lib64/python2.4/site-packages/mercurial/httprepo.py",
line 235, in do_cmd
   resp = urllib2.urlopen(urllib2.Request(cu, data, headers))
 File "/usr/lib64/python2.4/urllib2.py", line 130, in urlopen
   return _opener.open(url, data)
 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 730, in retry_http_basic_auth
   return self.parent.open(req)
 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 916, in http_error_401
   host, req, headers)
 File "/usr/lib64/python2.4/urllib2.py", line 807, in http_error_auth_reqed
   raise ValueError("AbstractDigestAuthHandler doesn't know "
ValueError: AbstractDigestAuthHandler doesn't know about Basic

********************************************************************************

So there is obviously something wrong.


Could it be that the clone did
not converted the repository correctly ?

Did you use "hg clone --pull"?
Does "hg verify" work?

Can you commit locally when logged in your server.
(You can get rid of a revision with "hg strip -n <revision>".)


--
Kai Antweiler




reply via email to

[Prev in Thread] Current Thread [Next in Thread]