Add hint to just "git remote rename origin gerrit" when no .gitreview

... because it Just Works with absolutely zero configuration when cloning
with ssh://

Change-Id: I7a413704c4a567e397b5bb6075677175b8997704
This commit is contained in:
Marc Herbert 2018-12-18 15:33:20 -08:00
parent 0ffe65193a
commit 11cf3bae58
1 changed files with 2 additions and 2 deletions

View File

@ -795,8 +795,8 @@ def check_remote(branch, remote, scheme, hostname, port, project,
printwrap("Please set the push-url on your origin remote to the "
"location of your gerrit server and try again")
else:
printwrap("Please manually create a remote "
"named \"%s\" and try again." % remote)
printwrap("Please manually create a remote named \"%s\" or "
"rename the default one and try again." % remote)
sys.exit(1)
# Gerrit remote not present, try to add it