commit | fa1105aaac3f00cb2b7b7dea092f3b6541769753 | [log] [tgz] |
---|---|---|
author | Ian Cordasco <graffatcolmingov@gmail.com> | Thu Dec 17 14:35:50 2015 |
committer | Ian Cordasco <graffatcolmingov@gmail.com> | Thu Dec 17 14:35:50 2015 |
tree | 93297822bf21e6a154dd83a70d52ebb7a3a1021e | |
parent | 4da31aa521fe0c66c2577f49cb7002a8d438bfbf [diff] |
Isolate the commands that raise OSError Right now, running the git and hg commands could easily raise an OSError. Let's only catch it in those cases and then use else to install hooks when those are successful. Otherwise, pass on to the next supported VCS