Unable to clone repo with mostly largefiles from RhodeCode

Afriza N. Arief afriza.na at gmail.com
Wed Sep 3 06:54:08 UTC 2014


On Tue, Sep 2, 2014 at 5:02 AM, Matt Mackall <mpm at selenic.com> wrote:

> On Mon, 2014-09-01 at 16:58 +0800, 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
>
> FYI, as Rhodecode is no longer free software and now has a legally
> dubious relationship with our own license, we're not really keen on
> supporting it. You might be interested in switching to Kallithea:
>
> https://kallithea-scm.org/
>
>
I haven't tried with Kallithea, but after investigating further, it seems
that the problem is caused by the HTTP Header being too big. If I am
correct, I think the problem is quite generic and applies to other servers
that have HTTP header size limit.

>   File "urllib2.pyo", line 531, in http_error_default
> > HTTPError: HTTP Error 400: Bad Request
> > abort: HTTP Error 400: Bad Request
>
> Whatever's happening here seems to be on your server.. or possibly your
> network.
>
>
As a workaround, I can do `hg update` to revision 1, 2, 3, ..., 6 in
sequence so that the generated HTTP Header for fetching largefiles will not
hit the limit.

For the record, I have about 23936 files stored as largefiles, so the HTTP
batch command to query their status will be quite big.

Best Regards,

Afriza N. Arief
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140903/317268c8/attachment-0002.html>


More information about the Mercurial mailing list