Support for other remotes named gerrit
Bug #1090118 reported by
dan entous
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-review |
Fix Released
|
Wishlist
|
ori |
Bug Description
mac os x 10.6.8
Python 2.7.3
git-review version 1.20
1. clone a repo with -o gerrit
git clone -o gerrit https:/
2. setup git review
git review -s
3. error message
Problems encountered installing commit-msg hook
The following command failed with exit code 1
"scp -P None gerrit.
Bad port ' None'
nb: without the -o gerrit option git review -s will work, however, this is not the recommended approach to working with gerrit; see:
http://
http://
summary: |
- Support for non-SSH gerrit remotes + Support for other remotes named gerrit |
To post a comment you must log in.
git-review expects a remote named "gerrit" which corresponds to the Gerrit CLI for your code review system. Something akin to:
git remote add gerrit ssh://< username> @gerrit. wikimedia. org:29418/ mediawiki/ extensions/ UploadWizard. git
By cloning with -o you're adding a remote named "gerrit" which corresponds to your Web mirror of the repo, and this is certain to create all manner of problems for git-review. Do you consider this a design flaw or lack of clarity in documentation?