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:
parent
0ffe65193a
commit
11cf3bae58
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user