Tool for uploading changesets to Gerrit from git
Go to file
Monty Taylor 853f3bffb3 Use remote_url instead of remote for download
If usepushurl is set, then it's likely that the pushurl is pointing
to the code review system while the normal url is pointing to a read
only mirror. If the read-only mirror in question doesn't contain
the gerrit refs (like opendev.org currently) then git fetch origin
won't work properly. However, we already calculate the correct
URL at the top of the function for use in query_reviews, and fetch
will happily work with a full url rather than a named remote.

Update the function to use the remote_url so that usepushurl works
even if the mirror url does not contain refs/changes.

Change-Id: Ib72afe97e65cb1dcaf95e28450dfe6e7d5f88965
2019-03-18 14:37:27 +00:00
doc docs: Call out use of an agent to store SSH passwords 2018-10-24 15:27:48 +01:00
git_review Use remote_url instead of remote for download 2019-03-18 14:37:27 +00:00
releasenotes/notes Use remote_url instead of remote for download 2019-03-18 14:37:27 +00:00
.gitignore Switch from testrepository to stestr 2019-02-12 09:58:46 +00:00
.gitreview Updated .gitreview location 2012-12-16 10:40:51 -08:00
.mailmap Migrate to pbr. 2013-08-15 20:42:37 +00:00
.stestr.conf Switch from testrepository to stestr 2019-02-12 09:58:46 +00:00
bindep.txt Add bindep.txt 2018-01-10 11:11:04 +11:00
CONTRIBUTING.rst CONTRIBUTING.rst, HACKING.rst: fix broken link, minor flow updates 2018-12-07 11:23:07 -08:00
git-review.1 Document usepushurl in the man page 2018-03-22 07:04:14 -05:00
HACKING.rst CONTRIBUTING.rst, HACKING.rst: fix broken link, minor flow updates 2018-12-07 11:23:07 -08:00
LICENSE Ported rfc.sh to a standalone program. 2011-09-25 09:16:31 -07:00
MANIFEST.in Migrate to pbr. 2013-08-15 20:42:37 +00:00
README.rst Fixed a dead link to the git-review docs 2015-06-03 17:09:13 +00:00
requirements.txt Use six for cross python compatibility 2018-11-26 19:17:28 +00:00
setup.cfg Correct metadata URLs 2016-02-02 15:52:39 -08:00
setup.py Update requirements to OpenStack's recommendations 2014-07-03 14:54:14 +00:00
test-requirements.txt Switch from testrepository to stestr 2019-02-12 09:58:46 +00:00
tox.ini Switch from testrepository to stestr 2019-02-12 09:58:46 +00:00

git-review

A git command for submitting branches to Gerrit

git-review is a tool that helps submitting git branches to gerrit for review.