Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Repo' object has no attribute 'commit' #20

Open
yetkinozturk opened this issue Mar 2, 2014 · 1 comment
Open

'Repo' object has no attribute 'commit' #20

yetkinozturk opened this issue Mar 2, 2014 · 1 comment

Comments

@yetkinozturk
Copy link

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'

@alex
Copy link
Owner

alex commented Mar 2, 2014

I'm sorry, at this point I haven't been maintaing this project for several years, I don't have any particular suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants