[issue2625] hg convert fails with "Could not authenticate to server"

mbillard bugs at mercurial.selenic.com
Fri Feb 4 16:58:53 UTC 2011


New submission from mbillard <selenic at mbillard.com>:

I can't really make sense of the error.

When I try to do the following:
  hg --debug --traceback convert --config convert.usebranchnames=false [REPO
URL][REPO PATH] .

I get the following:
[...]
scanning: 961 revisions
sorting...
converting...
960 Initial commit
source: svn:a3376ed7-48c7-2946-afc7-28b996304253 at 2
converting: 0/961 revisions (0.00%)
scanning paths: /Trunks/Development/Deployment 0/1134 (0.00%)
run hg sink post-conversion action
Traceback (most recent call last):
  File "mercurial\dispatch.pyo", line 58, in _runcatch
  File "mercurial\dispatch.pyo", line 590, in _dispatch
  File "mercurial\dispatch.pyo", line 401, in runcommand
  File "mercurial\dispatch.pyo", line 641, in _runcommand
  File "mercurial\dispatch.pyo", line 595, in checkargs
  File "mercurial\dispatch.pyo", line 588, in <lambda>
  File "mercurial\util.pyo", line 426, in check
  File "hgext\convert\__init__.pyo", line 254, in convert
  File "hgext\convert\convcmd.pyo", line 433, in convert
  File "hgext\convert\convcmd.pyo", line 359, in convert
  File "hgext\convert\convcmd.pyo", line 302, in copy
  File "hgext\convert\subversion.pyo", line 380, in getchanges
  File "hgext\convert\subversion.pyo", line 618, in expandpaths
  File "hgext\convert\subversion.pyo", line 898, in _checkpath
  File "libsvn\ra.pyo", line 780, in svn_ra_check_path
SubversionException: ("PROPFIND of '[REPO PATH]/T
runks/Development/Deployment': authorization failed: Could not authenticate to s
erver: rejected Basic challenge ([SUBVERSION REPO URL])", 170001)
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 1.7.3)
** Extensions loaded: convert, extdiff, hgsubversion
Traceback (most recent call last):
  File "hg", line 36, in <module>
  File "mercurial\dispatch.pyo", line 16, in run
  File "mercurial\dispatch.pyo", line 36, in dispatch
  File "mercurial\dispatch.pyo", line 58, in _runcatch
  File "mercurial\dispatch.pyo", line 590, in _dispatch
  File "mercurial\dispatch.pyo", line 401, in runcommand
  File "mercurial\dispatch.pyo", line 641, in _runcommand
  File "mercurial\dispatch.pyo", line 595, in checkargs
  File "mercurial\dispatch.pyo", line 588, in <lambda>
  File "mercurial\util.pyo", line 426, in check
  File "hgext\convert\__init__.pyo", line 254, in convert
  File "hgext\convert\convcmd.pyo", line 433, in convert
  File "hgext\convert\convcmd.pyo", line 359, in convert
  File "hgext\convert\convcmd.pyo", line 302, in copy
  File "hgext\convert\subversion.pyo", line 380, in getchanges
  File "hgext\convert\subversion.pyo", line 618, in expandpaths
  File "hgext\convert\subversion.pyo", line 898, in _checkpath
  File "libsvn\ra.pyo", line 780, in svn_ra_check_path
svn.core.SubversionException: ("PROPFIND of '[REPO
PATH]/Trunks/Development/Deployment': authorization failed: Could not authenti
cate to server: rejected Basic challenge (https://svn.hintinnovation.com)", 1700
01)

The repository is a subversion repository with a self-signed certificate
(which was added to my cacert.pem file because I can do hg clone svn+[REPO
URL][REPO PATH])

----------
messages: 15124
nosy: mbillard
priority: bug
status: unread
title: hg convert fails with "Could not authenticate to server"

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


More information about the Mercurial-devel mailing list