You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I initialized the repo as repo = Repository('/opt/projectpath/')
repo.get_recent_commits() raises this. Am i missing something? (it is a git repo)
93 head = pending_commits.pop(0)
94 try:
---> 95 commit = self._repo.commit(head)
96 except KeyError:
97 raise CommitDoesNotExist
AttributeError: 'Repo' object has no attribute 'commit'
The text was updated successfully, but these errors were encountered:
I initialized the repo as repo = Repository('/opt/projectpath/')
repo.get_recent_commits() raises this. Am i missing something? (it is a git repo)
93 head = pending_commits.pop(0)
94 try:
---> 95 commit = self._repo.commit(head)
96 except KeyError:
97 raise CommitDoesNotExist
AttributeError: 'Repo' object has no attribute 'commit'
The text was updated successfully, but these errors were encountered: