Skip to content

Instantly share code, notes, and snippets.

@richardraseley
Created February 27, 2015 23:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardraseley/25e018014f8e17f1c909 to your computer and use it in GitHub Desktop.
Save richardraseley/25e018014f8e17f1c909 to your computer and use it in GitHub Desktop.
» git review -v
2015-02-27 15:19:28.856399 Running: git log --color=never --oneline HEAD^1..HEAD
2015-02-27 15:19:28.860296 Running: git remote
2015-02-27 15:19:28.863320 Running: git config --get gitreview.username
No remote set, testing ssh://RichardRaseley@review.openstack.org:29418/stackforge/puppet-nova.git
2015-02-27 15:19:28.866417 Running: git push --dry-run ssh://RichardRaseley@review.openstack.org:29418/stackforge/puppet-nova.git --all
ssh://RichardRaseley@review.openstack.org:29418/stackforge/puppet-nova.git did not work.
Could not connect to gerrit.
Enter your gerrit username: RichardRaseley
Trying again with ssh://RichardRaseley@review.openstack.org:29418/stackforge/puppet-nova.git
2015-02-27 15:21:01.254549 Running: git push --dry-run ssh://RichardRaseley@review.openstack.org:29418/stackforge/puppet-nova.git --all
ssh://RichardRaseley@review.openstack.org:29418/stackforge/puppet-nova.git did not work.
<traceback object at 0x10c8d4098>
We don't know where your gerrit is. Please manually create a remote
named "gerrit" and try again.
Traceback (most recent call last):
File "/usr/local/bin/git-review", line 11, in <module>
sys.exit(main())
File "/Library/Python/2.7/site-packages/git_review/cmd.py", line 1173, in main
config['hostname'], config['port'], config['project'])
File "/Library/Python/2.7/site-packages/git_review/cmd.py", line 593, in check_remote
add_remote(scheme, hostname, port, project, remote)
File "/Library/Python/2.7/site-packages/git_review/cmd.py", line 333, in add_remote
raise Exception("Could not connect to gerrit at %s" % remote_url)
Exception: Could not connect to gerrit at ssh://RichardRaseley@review.openstack.org:29418/stackforge/puppet-nova.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment