alex / alex/pyvcs

'Repo' object has no attribute 'commit'

Đang mở
#20 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
128
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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'

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.