[issue1347] hg import fails on http auth

Jesper Noehr mercurial-bugs at selenic.com
Sun Oct 19 05:24:03 CDT 2008


New submission from Jesper Noehr <jesper at noehr.org>:

It seems that hg import supports http URLs for importing csets, but it uses a simple 
urllib.urlopen function for that. This means that any authentication the server will 
request causes a large traceback, with an urllib 401 error.

Since mercurial supports authentication over push/pull, it would be nice if import 
used the same facility for this.

This makes sense on Bitbucket, where it would be nice if people could do something 
like 'hg import --exact http://bitbucket.org/foo/bar/nodehash/raw/' and be asked to 
enter their credentials.

----------
messages: 7564
nosy: jespern
priority: bug
status: unread
title: hg import fails on http auth

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



More information about the Mercurial-devel mailing list