allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #8001 Error with git status "T" in a commit
Date Thu, 18 Aug 2016 18:14:12 GMT
- **status**: open --> in-progress
- **assigned_to**: Dave Brondsema


** [tickets:#8001] Error with git status "T" in a commit**

**Status:** in-progress
**Milestone:** unreleased
**Created:** Tue Oct 06, 2015 02:33 PM UTC by Dave Brondsema
**Last Updated:** Tue Oct 06, 2015 02:33 PM UTC
**Owner:** Dave Brondsema

We need to handle the ["T" status](
from git.  Currently we error:

Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/tasks/", line 47, in clone
  File "/var/local/allura/Allura/allura/model/", line 533, in init_as_clone
    self.refresh(notify=False, new_clone=True)
  File "/var/local/allura/Allura/allura/model/", line 663, in refresh
    refresh_repo(self, all_commits, notify, new_clone)
  File "/var/local/allura/Allura/allura/model/", line 122, in refresh_repo
    compute_lcds(ci, model_cache, lcid_cache)
  File "/var/local/allura/Allura/allura/model/", line 544, in compute_lcds
    _compute_lcds(tree, model_cache)
  File "/var/local/allura/Allura/allura/model/", line 554, in _compute_lcds
    lcd = LastCommit._build(tree)
  File "/var/local/allura/Allura/allura/model/", line 1573, in _build
    prev_lcd_cid = cls._prev_commit_id(tree.commit, path)
  File "/var/local/allura/Allura/allura/model/", line 1537, in _prev_commit_id
    if not commit.parent_ids or path in commit.added_paths:
  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 1241, in added_paths
    for path in self.paged_diffs()['added']:
  File "/var/local/allura/Allura/allura/model/", line 1170, in paged_diffs
    diffs = self.repo.paged_diffs(self._id, start, end)
  File "/var/local/allura/Allura/allura/model/", line 514, in paged_diffs
    return self._impl.paged_diffs(commit_id, start, end)
  File "/var/local/allura/ForgeGit/forgegit/model/", line 702, in paged_diffs
KeyError: 'T'


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