Commits

Robert Lehmann committed bfd28fc

fix deprecated call to dulwich.repo.Repo.commit()

Comments (0)

Files changed (1)

anyvc/git/repo.py

 
     @property
     def parents(self):
-        return [GitRevision(self.repo, self.repo.repo.commit(id))
+        return [GitRevision(self.repo, self.repo.repo[id])
                 for id in self.commit.parents]
 
     @property