#877 500 attempting to view a file in some git repos

v1.0.0
closed
sf-4 (350)
General
nobody
2015-08-20
2010-09-02
Wolf
No

e.g., http://sourceforge.net/p/washtub/git/ci/ea9a8f0698ed1edc352af9309ecd32b97afbf4ed/tree/djangologging/docs/Profiling.wiki

In fact viewing any file (not dir) in this repo 500s.

The problem looks like a failed assert:

           for ci in self._repo._impl.iter_commits():
               if self._impl in ci.parents:
                   next.append(self.from_repo_object(ci, self._repo))
    >>  for ci in self._repo._impl.iter_commits():
    Module git.objects.commit:253 in _iter_from_process_or_stream
    <<              commit_tokens = line.split()
                       id = commit_tokens[1]
                       assert commit_tokens[0] == "commit"
                       tree = stream.next().split()[1]
    >>  assert commit_tokens[0] == "commit"
   AssertionError:

Discussion

  • Rick Copeland - 2010-09-08
    • status: open --> in-progress
    • assigned_to: Rick Copeland
    • custom_field__size: --> 2
     
  • Rick Copeland - 2010-09-08

    This seems to be a bug in the way gitpython handles (or doesn't) empty commit messages

     
  • Rick Copeland - 2010-09-08
    • status: in-progress --> code-review
    • milestone: --> GA6
     
  • Rick Copeland - 2010-09-08
    • status: code-review --> closed
     

Log in to post a comment.