[Bug 5961] New: hgweb broken in 4.7

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Thu Aug 16 08:39:23 UTC 2018


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

            Bug ID: 5961
           Summary: hgweb broken in 4.7
           Product: Mercurial
           Version: stable branch
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: hgweb
          Assignee: bugzilla at mercurial-scm.org
          Reporter: joerg at NetBSD.org
                CC: martinvonz at google.com,
                    mercurial-devel at mercurial-scm.org

Trying to clone a repo with 4.7 gives:

Traceback (most recent call last):
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/hgweb/hgwebdir_mod.py",
line 351, in run_wsgi
    for r in self._runwsgi(req, res):
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.py",
line 308, in run_wsgi
    for r in self._runwsgi(req, res, repo):
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/hgweb/request.py", line
542, in sendresponse
    for chunk in self._bodygen:
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/wireprotoserver.py",
line 408, in genversion2
    for chunk in gen:
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/util.py", line 3568, in
compressstream
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/bundle2.py", line 674,
in getchunks
    self._compopts):
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/bundle2.py", line 695,
in _getcorechunk
    for chunk in part.getchunks(ui=self.ui):
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/bundle2.py", line 1114,
in getchunks
    pycompat.raisewithtb(exc, tb)
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/bundle2.py", line 1088,
in getchunks
    for chunk in self._payloadchunks():
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/bundle2.py", line 1129,
in _payloadchunks
    chunk = buff.read(preferedchunksize)
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/util.py", line 2235, in
read
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/util.py", line 2207, in
splitbig
    # refill the queue
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/changegroup.py", line
624, in generate
    for chunk in self.group(clnodes, cl, lookupcl, units=_('changesets')):
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/changegroup.py", line
569, in group
    progress = self._repo.ui.makeprogress(_('bundling'), unit=units,
AttributeError: 'ui' object has no attribute 'makeprogress'

on the server side.

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


More information about the Mercurial-devel mailing list