Description of problem: No message is displayed to ask user modifying config file with latest domain name replaced. There's only one "Success" displayed as below: # rhc domain update -n jinzhang3 -p a Updating domain 'jinzhang2' to namespace 'jinzhang3' RESULT: Success! Version-Release number of selected component (if applicable): rhc-0.97.7.gem devenv_1995 How reproducible: always Steps to Reproduce: 1.Create some apps 2.Update domain name: #rhc domain update -n newdomain -p xxx Actual results: Only a "Sucess" is displayed, user will get git push failed without modifying new namespace in config file. # rhc domain update -n jinzhang3 -p a Updating domain 'jinzhang2' to namespace 'jinzhang3' RESULT: Success! Expected results: An friendly message shoud pop up to ask user changing the config file with latest domain name instead before using git push. Additional info: This message can be shown with old rhc client.
We should update the config automatically on a rename if and only if it is configured in the config.
we can't update the git config on the users side since their apps could be anywhere on the file system. .git/config is also a local file so changing it on the server won't help either. A message is the only way to fix this.
This bug has been verified and fixed. Please refer to the following details: Build: int.openshift.redhat.com rhc-0.97.11.gem Steps: 1. Update domain name: # rhc domain update test8 Password: ****** Updating domain 'testdm6' to namespace 'test8' RESULT: Success! You can use 'rhc domain show' to view any url changes. Be sure to update any links including the url in your local git config: <local_git_repo>/.git/config A reasonable message is shown to ask user modifying the config file. So it's fixed. Thanks.