push problems 500 argument out of range

hoochul.kim's Avatar

hoochul.kim

30 Nov, 2015 08:37 PM

I am trying to push a 2.7GB repo, beyond the range of int32. I've been trying to push it and have been running into lots of issues. Here's a run down of things I've done using version 1.8.5.0

- disable 32 bit support in app pools
- change the app pools managed pipeline mode to classic
- increase max lengths in the web.config file

The latest error I'm getting is

System.IO.Stream.InternalCopyTo(… Int32 buffSize) was throwing an argument out of range exception at

HgSharpServer.ExecuteUnbundle(HgHttpCommandContext context) in d:\projects\hgsharp\src\HgSharp.Server\HgHttpServer.cs line 311

Is there a fix for this?

  1. Support Staff 1 Posted by Anton Gogolev on 01 Dec, 2015 08:09 AM

    Anton Gogolev's Avatar

    Hello, Kim!

    HgLab is known to have problems with large repositories. You can circumvent HgLab entirely for your first push by just copying the .hg directory directly to the server, under HGLAB_HOME_DIRECTORY\repositories\mainline\PROJECT_SLUG\REPOSITORY_NAME.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

21 Aug, 2019 09:07 AM
30 Jul, 2019 08:59 PM
31 May, 2019 02:29 PM
26 Nov, 2018 01:47 PM
16 Nov, 2018 07:51 PM

 

06 Nov, 2018 04:30 PM
24 Oct, 2018 07:57 AM
20 Jul, 2018 11:07 PM
05 Jul, 2018 10:53 AM
27 May, 2018 01:33 AM
14 May, 2018 03:38 PM