schacon / hg-git

mercurial to git bridge, pushed to directly from the hg-git plugin in Hg
GNU General Public License v2.0
620 stars 71 forks source link

git_handler.py #254

Closed go-nut closed 10 years ago

go-nut commented 11 years ago

I get the following error when trying to run any hg command *\ failed to import extension hggit from /home/joe/hg-git/hggit: invalid syntax (git_handler.py, line 103) Here is some information I thought might be helpful joe vps ~/.hg $ cat hgrc [extensions] hgext.bookmarks = hggit = /home/joe/hg-git/hggit

joe vps ~/hg-git/hggit $ ls git_handler.py gitrepo.py gitrepo.pyc hgrepo.py init.py init.pyc overlay.py _ssh.py util.py

I'm not sure what more information I can provide, but if there is anything else I can provide, I would be more than happy to

durin42 commented 11 years ago

You're running an extremely old Python binary. Is there any way you can get your Python for Mercurial to be 2.6 or newer?