Closed Bug 1971592 Opened 11 days ago Closed 10 days ago

unable to load content for autoland revision 92bf770c26f031ef3fe51f63d31b3b16ab47c30d

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aryx, Assigned: jcristau)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(1 file)

https://hg-edge.mozilla.org/integration/autoland/rev/92bf770c26f031ef3fe51f63d31b3b16ab47c30d only loads the in-page headers and stops when the actual patch content shall be submitted.

Julien identified the regressor and will look at this on Thursday. This is the stacktrace he provided:

mod_wsgi (pid=12885): Exception occurred processing WSGI script '/repo_local/mozilla/webroot_wsgi/integration/hgweb.wsgi'.
Traceback (most recent call last):
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/hgweb/hgwebdir_mod.py", line 385, in run_wsgi
    for r in self._runwsgi(req, res):
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/hgweb/hgweb_mod.py", line 363, in run_wsgi
    for r in self._runwsgi(req, res, repo):
  File "/var/hg/version-control-tools/hgext/serverlog/__init__.py", line 423, in wrapped_runwsgi
    for what in orig(self, req, res, repo):
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/hgweb/request.py", line 581, in sendresponse
    for chunk in self._bodygen:
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/util.py", line 1797, in increasingchunks
    for chunk in source:
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/templateutil.py", line 863, in flatten
    for i in thing:
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/templateutil.py", line 1067, in runtemplate 
    yield evalrawexp(context, mapping, arg)
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/templateutil.py", line 916, in evalrawexp
    return func(context, mapping, data)
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/templateutil.py", line 1075, in runfilter
    thing = unwrapastype(context, mapping, thing, intype)
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/templateutil.py", line 1026, in unwrapastype
    return f(context, mapping, thing)
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/templateutil.py", line 943, in unwrapvalue
    return thing.tovalue(context, mapping)
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/templateutil.py", line 536, in tovalue
    for k, v in nm.items()
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/templateutil.py", line 537, in <dictcomp>
    if k not in knownres
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/templateutil.py", line 943, in unwrapvalue
    return thing.tovalue(context, mapping)
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/templateutil.py", line 530, in tovalue
    for nm in self.itermaps(context):
  File "/var/hg/version-control-tools/hgext/hgmo/__init__.py", line 152, in backoutsgen
    bctx = scmutil.revsingle(repo, spec)
  File "/var/hg/venv_hgweb/lib64/python3.6/site-packages/mercurial/scmutil.py", line 759, in revsingle
    raise error.InputError(_(b'empty revision set'))
mercurial.error.InputError: empty revision set
Flags: needinfo?(jcristau)

When revsingle is passed an empty revset it raises InputError, so catch
that case for when the referenced git commit either doesn't exist or is
further back than the backoutsearchlimit.

Assignee: nobody → jcristau
Status: NEW → ASSIGNED
Flags: needinfo?(jcristau)

Pushed by jcristau@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/aa2a9ef85a68
hgext: fix error handling looking up reverted git commits . r=sheehan

Status: ASSIGNED → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: