-
-
Save alexreg/6545582 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return func(*args, **kwargs) | |
File "/usr/local/Cellar/mercurial/2.7.1/lib/python2.7/site-packages/mercurial/commands.py", line 4694, in push | |
newbranch=opts.get('new_branch')) | |
File "/Users/alex/Projects/hg-git/hggit/hgrepo.py", line 22, in push | |
return git.push(remote.path, revs, force) | |
File "/Users/alex/Projects/hg-git/hggit/git_handler.py", line 277, in push | |
old_refs, new_refs = self.upload_pack(remote, revs, force) | |
File "/Users/alex/Projects/hg-git/hggit/git_handler.py", line 891, in upload_pack | |
new_refs = client.send_pack(path, changed, genpack) | |
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dulwich-0.9.1-py2.7-macosx-10.8-x86_64.egg/dulwich/client.py", line 445, in send_pack | |
proto, unused_can_read = self._connect('receive-pack', path) | |
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dulwich-0.9.1-py2.7-macosx-10.8-x86_64.egg/dulwich/client.py", line 801, in _connect | |
con = get_ssh_vendor().run_command( | |
AttributeError: '_Vendor' object has no attribute 'run_command' | |
Nice tip.
Thank you!
Thanks!
worked, thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just had this problem with hg-git.
The solution for me was to downgrade dulwich to 0.9.0:
sudo easy_install -m dulwich
sudo easy_install dulwich==0.9.0