[issue1783] SVN convert on Linux not working

Laurens Holst mercurial-bugs at selenic.com
Thu Aug 6 13:27:05 CDT 2009


New submission from Laurens Holst <laurens.nospam at grauw.nl>:

When I try to convert an SVN repository, it first prompts me for
authentication credentials, and then asks me again 4 times before failing:

[grauw at vps529 repos]$ hg convert https://svn.cs.uu.nl:12443/repos/grauw-rep/
assuming destination grauw-rep-hg
initializing destination grauw-rep-hg repository
Enter username for Subversion repositories at svn.cs.uu.nl:12443: lholst
Enter password for lholst in Subversion repositories at svn.cs.uu.nl:12443:
http authorization required
realm: Subversion repositories
user:
password:
http authorization required
realm: Subversion repositories
user: lholst
password:
http authorization required
realm: Subversion repositories
user:
password:
http authorization required
realm: Subversion repositories
user:
password:
abort: HTTP Error 401: Authorization Required

When I add --debug to the command, I get the following response:

[grauw at vps529 repos]$ hg --debug convert
https://svn.cs.uu.nl:12443/repos/grauw-rep/
assuming destination grauw-rep-hg
initializing destination grauw-rep-hg repository
Enter username for Subversion repositories at svn.cs.uu.nl:12443: lholst
Enter password for lholst in Subversion repositories at svn.cs.uu.nl:12443:
using https://svn.cs.uu.nl:12443/repos/grauw-rep/
sending between command
http authorization required
realm: Subversion repositories
user: lholst
password:
http auth: user lholst, password *********
requested URL:
'https://svn.cs.uu.nl:12443/repos/grauw-rep/?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between'
(falling back to static-http)
http authorization required
realm: Subversion repositories
user: lholst
password:
http auth: user lholst, password *********
http authorization required
realm: Subversion repositories
user: lholst
password:
http auth: user lholst, password *********
https://svn.cs.uu.nl:12443/repos/grauw-rep/ does not look like a CVS checkout
https://svn.cs.uu.nl:12443/repos/grauw-rep/ does not look like a Git repo
https://svn.cs.uu.nl:12443/repos/grauw-rep does not look like a Subversion repo
https://svn.cs.uu.nl:12443/repos/grauw-rep/ is not a local Mercurial repo
https://svn.cs.uu.nl:12443/repos/grauw-rep/ does not look like a darcs repo
https://svn.cs.uu.nl:12443/repos/grauw-rep/ does not look like a monotone repo
https://svn.cs.uu.nl:12443/repos/grauw-rep/ does not look like a GNU Arch repo
https://svn.cs.uu.nl:12443/repos/grauw-rep/ does not look like a Bazaar repo
https://svn.cs.uu.nl:12443/repos/grauw-rep/ does not look like a P4 repo
abort: https://svn.cs.uu.nl:12443/repos/grauw-rep/: missing or unsupported
repository

I’ve converted other SVN repositories with previous versions of Mercurial
before without a hitch.

In the end, I was able to convert the repository by running a local SVN
server, mirroring the above mentioned SVN repository, and then hg convert
from the local repository. Not exactly ideal though :).

As I can both svn checkout and svnsync, I’d say there is nothing wrong with
the server configuration.

If you need login credentials please drop me a note (or ask me on IRC, I’ll
be there for a while) and I will send them to you, my email address can be
found here: http://www.grauw.nl/about.php

~Laurens

----------
messages: 10286
nosy: Grauw
priority: bug
status: unread
title: SVN convert on Linux not working

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



More information about the Mercurial-devel mailing list