Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346201

Summary: [server] Return proper status when git checkout failed
Product: [ECD] Orion Reporter: Tomasz Zarna <tomasz.zarna>
Component: ClientAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys
Version: 0.2Flags: Szymon.Brandys: review+
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 348384    

Description Tomasz Zarna CLA 2011-05-18 05:28:12 EDT
Currently, status other than 200 is returned only when a branch cannot be found (404) or the request is malformed (400). Git checkout may fail from different reasons, we should return a proper Status so the user know what went wrong.