buchuki/gitifyhg — pull request #70 by PaulPrice (2013-04-11 21:40:12+00:00)
Title: Can't get version

Because I thought it might be useful, I tried to get the version number from `git-remote-gitifyhg`:

```
pprice@tiger3:~/test $ git-remote-gitifyhg --version
Traceback (most recent call last):
File "/home/pprice/local/Linux.x86_64/bin/git-remote-gitifyhg", line 9, in
load_entry_point('gitifyhg==0.8.1', 'console_scripts', 'git-remote-gitifyhg')()
File "/home/pprice/local/Linux.x86_64/lib/python2.6/site-packages/gitifyhg-0.8.1-py2.6.egg/gitifyhg/gitifyhg.py", line 262, in main
HGRemote(*[x.decode('utf-8') for x in sys.argv[1:3]]).process()
TypeError: __init__() takes exactly 3 arguments (2 given)
```

At the worst, this should fail nicely, perhaps telling me what options are available. At the best, it should tell me the version number.