alex / alex/pyvcs

'Repo' object has no attribute 'commit'

Aperta
#20 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
128
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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'

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.