| Summary: | Pushing branch to a new remote branch when there branch.remote entry in config already exists doesn't work | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Malgorzata Janczarska <malgorzata.tomczyk> |
| Component: | Git | Assignee: | Malgorzata Janczarska <malgorzata.tomczyk> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Szymon.Brandys |
| Version: | 2.0 | ||
| Target Milestone: | 2.0 RC1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Fixed. |
1. create local branch 2. create config entry branch.remote 3. try to push the branch, but instead for pushing to default remote branch try to push it to newly created branch This is what you get: POST /gitapi/config/clone/file/A/gotom/ 409 conflicting {"HttpCode":409,"Message":"Config entry for branch.tear/gccdd/oh.remote already exists","Severity":"Error","Code":0} PUT /gitapi/config/branch.tear/gccdd/oh.remote/clone/file/A 500 HTTP method GET is not supported if you do it on log there is not error message on the UI. First we should avoid creating remote config entry if it already exists, second we should return some kind of better error, third, we should display the error on UI.