[Bug 5002] New: Push of a large revision fails

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Dec 15 08:16:49 UTC 2015


https://bz.mercurial-scm.org/show_bug.cgi?id=5002

            Bug ID: 5002
           Summary: Push of a large revision fails
           Product: Mercurial
           Version: 3.6.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: hgweb
          Assignee: bugzilla at selenic.com
          Reporter: mail at goesswein.at
                CC: mercurial-devel at selenic.com

I'm using mercurial 3.5.2 on Windows and mercurial 3.6.2 (in combination with
scm-manager 1.46) on the server (FreeBSD).
I've a project with mercurial revision control and for a revision with lots of
data the push to the server fails.

The error message seems similar to Bug 4780, but this bug is already closed as
fixed for some time and i don't use generaldata.

I get the following error message on the server:

2015-12-15 07:59:26.695 [cgi-pool-1] WARN  sonia.scm.web.cgi.DefaultCGIExecutor
- Traceback (most recent call last):
  File "/home/scmmanager/.scm/lib/python/hgweb.py", line 42, in <module>
    wsgicgi.launch(application)
  File "/usr/local/lib/python2.7/site-packages/mercurial/hgweb/wsgicgi.py",
line 78, in launch
    for chunk in content:
  File "/usr/local/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.py",
line 281, in run_wsgi
    for r in self._runwsgi(req, repo):
  File "/usr/local/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.py",
line 321, in _runwsgi
    return protocol.call(rctx.repo, req, cmd)
  File "/usr/local/lib/python2.7/site-packages/mercurial/hgweb/protocol.py",
line 76, in call
    rsp = wireproto.dispatch(repo, p, cmd)
  File "/usr/local/lib/python2.7/site-packages/mercurial/wireproto.py", line
471, in dispatch
    return func(repo, proto, *args)
  File "/usr/local/lib/python2.7/site-packages/mercurial/wireproto.py", line
757, in unbundle
    proto.getfile(fp)
  File "/usr/local/lib/python2.7/site-packages/mercurial/hgweb/protocol.py",
line 48, in getfile
    for s in util.filechunkiter(self.req, limit=length):
  File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 1374,
in filechunkiter
    assert limit is None or limit >= 0
AssertionError

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list