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:
@@ -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 "
|
printwrap("Please set the push-url on your origin remote to the "
|
||||||
"location of your gerrit server and try again")
|
"location of your gerrit server and try again")
|
||||||
else:
|
else:
|
||||||
printwrap("Please manually create a remote "
|
printwrap("Please manually create a remote named \"%s\" or "
|
||||||
"named \"%s\" and try again." % remote)
|
"rename the default one and try again." % remote)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Gerrit remote not present, try to add it
|
# Gerrit remote not present, try to add it
|
||||||
|
|||||||
Reference in New Issue
Block a user