storage:vcs:git: check for existence of pygit2.__version__.
authorW. Trevor King <wking@tremily.us>
Mon, 17 Sep 2012 15:13:36 +0000 (11:13 -0400)
committerW. Trevor King <wking@tremily.us>
Mon, 17 Sep 2012 15:13:36 +0000 (11:13 -0400)
commit18c8ff5dcb0333b318b91b178e69b1121458616b
tree0c3c0d64cf0f20a692407138ab987848942648ef
parent682b25c41cb70ee4e9274274e99f3ebe386e4315
storage:vcs:git: check for existence of pygit2.__version__.

Now that my pull request has been accepted, we can be fairly confident
that future releases of pygit2 will expose this attribute.  The
accepted patch was a bit different from the original submission:

Add 'pygit2.__version__' for easy access from client software.
  https://github.com/libgit2/pygit2/pull/128
  commit f10d2b7b3f0c67d81b175326035e4813420156bd
libbe/storage/vcs/git.py