This was working great for me on several machines, but it did not work on one machine[1][2].
Adding something like this to git-review.conf fixes the problem:
[updates] check=off
Željko -- 1: https://bugzilla.wikimedia.org/show_bug.cgi?id=55732 2: https://bugs.launchpad.net/git-review/+bug/1243044
On Sat, Jun 1, 2013 at 12:14 AM, Ori Livneh ori@wikimedia.org wrote:
Hey,
The new version of git-review released today (1.22) includes a patch I wrote that makes it possible to work against a single 'origin' remote. This amounts to a workaround for git-review's tendency to frighten you into thinking you're about to submit more patches than the ones you are working on. It makes git-review more pleasant to work with, in my opinion.
To enable this behavior, you first need to upgrade to the latest version of git-review, by running "pip install -U git-review". Then you need to create a configuration file: either /etc/git-review/git-review.conf (system-wide) or ~/.config/git-review/git-review.conf (user-specific).
The file should contain these two lines:
[gerrit] defaultremote = origin
Once you've made the change, any new Gerrit repos you clone using an authenticated URI will just work.
You'll need to perform an additional step to migrate existing repositories. In each repository, run the following commands:
git remote set-url origin $(git config --get remote.gerrit.url) git remote rm gerrit git review -s
Hope you find this useful. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l