2013-01-13 22:26:49 +01:00

274 B

Revision parsing

You can use any of the fancy <rev> forms supported by libgit2:

>>> commit = repo.revparse_single('HEAD^')