Unable to clone repo with mostly largefiles from RhodeCode

Mads Kiilerich mads at kiilerich.com
Mon Sep 1 09:43:19 UTC 2014


On 09/01/2014 10:58 AM, Afriza N. Arief wrote:
> Hello,
>
> I am faced with this stacktrace when trying to clone a repo. Note that 
> I need to enter my password twice and the error happens after the 
> second auth. The problem happens when using TortoiseHg 3.1 (with 
> Mercurial 3.1+2) from GUI as well as command line hg.exe
>
> > hg clone https://aaa.bbb.ccc/ddd fff
> http authorization required for https://aaa.bbb.ccc/ddd
> realm: RhodeCode authentication
> user: abcdef
> password:
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 7 changesets with 23937 changes to 23936 files
> updating to branch default
> getting changed largefiles
> http authorization required for https://aaa.bbb.ccc/ddd
> realm: RhodeCode authentication
> user: abcdef
> password:
> Traceback (most recent call last):
>   File "mercurial\dispatch.pyo", line 138, in _runcatch
>   File "mercurial\dispatch.pyo", line 820, in _dispatch
>   File "mercurial\dispatch.pyo", line 600, in runcommand
>   File "mercurial\dispatch.pyo", line 911, in _runcommand
>   File "mercurial\dispatch.pyo", line 882, in checkargs
>   File "mercurial\dispatch.pyo", line 817, in <lambda>
>   File "mercurial\util.pyo", line 550, in check
>   File "mercurial\extensions.pyo", line 151, in wrap
>   File "mercurial\util.pyo", line 550, in check
>   File "hgext\largefiles\overrides.pyo", line 783, in overrideclone
>   File "mercurial\util.pyo", line 550, in check
>   File "mercurial\commands.pyo", line 1331, in clone
>   File "mercurial\extensions.pyo", line 196, in wrap
>   File "hgext\largefiles\overrides.pyo", line 786, in hgclone
>   File "mercurial\hg.pyo", line 467, in clone
>   File "mercurial\hg.pyo", line 493, in update
>   File "mercurial\extensions.pyo", line 196, in wrap
>   File "hgext\largefiles\overrides.pyo", line 692, in hgupdaterepo
>   File "hgext\largefiles\lfcommands.pyo", line 486, in updatelfiles
>   File "hgext\largefiles\lfcommands.pyo", line 415, in cachelfiles
>   File "hgext\largefiles\basestore.pyo", line 64, in get
>   File "hgext\largefiles\remotestore.pyo", line 33, in exists
>   File "hgext\largefiles\wirestore.pyo", line 36, in _stat
>   File "mercurial\wireproto.pyo", line 123, in submit
>   File "mercurial\wireproto.pyo", line 125, in _submitreq
>   File "mercurial\wireproto.pyo", line 219, in _submitbatch
>   File "mercurial\httppeer.pyo", line 172, in _call
>   File "hgext\largefiles\proto.pyo", line 176, in httprepocallstream
>   File "mercurial\httppeer.pyo", line 119, in _callstream
>   File "urllib2.pyo", line 410, in open
>   File "urllib2.pyo", line 523, in http_response
>   File "urllib2.pyo", line 448, in error
>   File "urllib2.pyo", line 382, in _call_chain
>   File "urllib2.pyo", line 531, in http_error_default
> HTTPError: HTTP Error 400: Bad Request
> abort: HTTP Error 400: Bad Request

I guess that is a message from the web server. Try to check the web 
server error log or what goes on at the http level - you might have to 
disable ssl to do that.

/Mads



More information about the Mercurial mailing list