allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #7618 Handle ForgeHg merge request errors better
Date Mon, 10 Aug 2015 15:20:15 GMT


** [tickets:#7618] Handle ForgeHg merge request errors better**

**Status:** duplicate
**Milestone:** asf_release_1.3.0
**Created:** Tue Aug 12, 2014 05:38 PM UTC by Dave Brondsema
**Last Updated:** Mon Feb 09, 2015 04:42 PM UTC
**Owner:** nobody

On we get an error.  We should
handle this better.  (Not sure exactly how it got into this state)

File '/var/local/allura/Allura/allura/templates/repo/merge_request.html', line 19 in top-level
template code
  {% extends 'allura:templates/repo/repo_master.html' %}
File '/var/local/allura/Allura/allura/templates/repo/repo_master.html', line 120 in top-level
template code
  <span class="scm-tag-label">{{t}}</span>
File '/var/local/allura/Allura/allura/templates/jinja_master/master.html', line 102 in top-level
template code
  {% block content_base %}
File '/var/local/allura/Allura/allura/templates/jinja_master/master.html', line 127 in block
  {% block content %}{% endblock %}
File '/var/local/allura/Allura/allura/templates/repo/merge_request.html', line 39 in block
  asked you to merge {{h.text.plural(req.commits|count, 'commit', 'commits')}}
File '/var/local/env-allura/lib/python2.7/site-packages/Jinja2-2.6-py2.7.egg/jinja2/',
line 372 in getattr
  return getattr(obj, attribute)
File '/var/local/env-allura/lib/python2.7/site-packages/Ming-0.4.7-py2.7.egg/ming/',
line 18 in __get__
  result = obj.__dict__[self.__name__] = self._func(obj)
File '/var/local/allura/Allura/allura/model/', line 769 in commits
  return self._commits()
File '/var/local/allura/Allura/allura/model/', line 781 in _commits
File '/var/local/env-allura/lib/python2.7/site-packages/ForgeHg-0.2.0-py2.7.egg/forgehg/model/',
line 251 in log
  change_revs = cmdutil.walkchangerevs(self._hg, match, {'rev': revs, 'prune': exclude}, noop)
File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/',
line 121 in __call__
  return self.run_and_log(self._inner, None, *args, **kwargs)
File '/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/',
line 126 in run_and_log
  return func(*args, **kwargs)
File '/var/local/env-allura/lib/python2.7/site-packages/mercurial-3.0-py2.7-linux-x86_64.egg/mercurial/',
line 1412 in walkchangerevs
  rev = repo[rev].rev()
File '/var/local/env-allura/lib/python2.7/site-packages/mercurial-3.0-py2.7-linux-x86_64.egg/mercurial/',
line 444 in __getitem__
  return context.changectx(self, changeid)
File '/var/local/env-allura/lib/python2.7/site-packages/mercurial-3.0-py2.7-linux-x86_64.egg/mercurial/',
line 319 in __init__
  _("unknown revision '%s'") % changeid)
RepoLookupError: unknown revision '0d978e56a635ed93cd9c4ae4948f2af8cf43772d'


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message