You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2015/08/10 17:20:15 UTC
[allura:tickets] #7618 Handle ForgeHg merge request errors better
---
** [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 https://sourceforge.net/p/etherlabmaster/code/merge-requests/1/ 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 "content_base"
{% block content %}{% endblock %}
File '/var/local/allura/Allura/allura/templates/repo/merge_request.html', line 39 in block "content"
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/environment.py', 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/utils.py', line 18 in __get__
result = obj.__dict__[self.__name__] = self._func(obj)
File '/var/local/allura/Allura/allura/model/repository.py', line 769 in commits
return self._commits()
File '/var/local/allura/Allura/allura/model/repository.py', line 781 in _commits
id_only=False))
File '/var/local/env-allura/lib/python2.7/site-packages/ForgeHg-0.2.0-py2.7.egg/forgehg/model/hg.py', 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/__init__.py', 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/__init__.py', 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/cmdutil.py', 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/localrepo.py', 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/context.py', line 319 in __init__
_("unknown revision '%s'") % changeid)
RepoLookupError: unknown revision '0d978e56a635ed93cd9c4ae4948f2af8cf43772d'
~~~~
---
Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.