---

** [tickets:#6568] RepoLookupError on hg merge request [ss5045]**

**Status:** closed
**Milestone:** unreleased
**Labels:** merge-requests support p3 
**Created:** Thu Aug 15, 2013 07:26 PM UTC by Dave Brondsema
**Last Updated:** Sun Feb 22, 2015 05:53 AM UTC
**Owner:** nobody

From <https://sourceforge.net/p/forge/site-support/5045/>:

> On that page, when I click any of the merge requests (and go to, say:
https://sourceforge.net/p/mikmod/mercurial/merge-requests/2/ ), then I get an
> 
> «
> Error 500
> 
> We're sorry but we weren't able to process this request.
> »
> 
> Please correct it, preferably with a regression test.


Error is:

~~~~
File '/var/local/allura/Allura/allura/templates/repo/merge_request.html', line 
36 in block "content"
  would like you to merge {{ req.commits | count }} 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.3.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 601 in commits
  return self._commits()
File '/var/local/allura/Allura/allura/model/repository.py', line 608 in _commits
  id_only=False))
File 
'/var/local/env-allura/lib/python2.7/site-packages/ForgeHg-0.1.15-py2.7.egg/forgehg/model/hg.py',
 line 226 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.3-py2.7.egg/timermiddleware/__init__.py',
 line 120 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.3-py2.7.egg/timermiddleware/__init__.py',
 line 125 in run_and_log
  return func(*args, **kwargs)
File 
'/var/local/env-allura/lib/python2.7/site-packages/mercurial-1.4.3-py2.7-linux-x86_64.egg/mercurial/cmdutil.py',
 line 1201 in walkchangerevs
  rev = repo.changelog.rev(repo.lookup(rev))
File 
'/var/local/env-allura/lib/python2.7/site-packages/mercurial-1.4.3-py2.7-linux-x86_64.egg/mercurial/localrepo.py',
 line 452 in lookup
  raise error.RepoLookupError(_("unknown revision '%s'") % key)
RepoLookupError: unknown revision '9b84ebca7a5b7fe006dc941633152828f2d26691'
~~~~


---

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.

Reply via email to