incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <brond...@users.sf.net>
Subject [allura:tickets] #6629 "list index out of range" error on git _iter_commits_with_refs
Date Thu, 05 Sep 2013 15:11:33 GMT
- **status**: open --> code-review
- **assigned_to**: Dave Brondsema
- **Size**:  --> 2



---

** [tickets:#6629] "list index out of range" error on git _iter_commits_with_refs**

**Status:** code-review
**Labels:** support p2 
**Created:** Wed Sep 04, 2013 10:31 PM UTC by Dave Brondsema
**Last Updated:** Wed Sep 04, 2013 10:32 PM UTC
**Owner:** Dave Brondsema

This was introduced in [#5775]

~~~~
File '/var/local/allura/Allura/allura/templates/widgets/repo/tree_widget.html', line 21 in
top-level template code
  {% set ls = list(tree.ls()) %}
File '/var/local/allura/Allura/allura/model/repo.py', line 532 in ls
  last_commit = LastCommit.get(self, create=False)
File '/var/local/allura/Allura/allura/model/repo.py', line 813 in get
  last_commit_id = cls._last_commit_id(tree.commit, path)
File '/var/local/allura/Allura/allura/model/repo.py', line 787 in _last_commit_id
  rev = commit.repo.log(commit._id, path, id_only=True).next()
File '/var/local/allura/ForgeGit/forgegit/model/git_repo.py', line 307 in log
  for ci, refs, renamed in self._iter_commits_with_refs(*args):
File '/var/local/allura/ForgeGit/forgegit/model/git_repo.py', line 393 in _iter_commits_with_refs
  name_stat_parts = commit_lines[1].split(' ')
IndexError: list index out of range
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

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