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

Bug 349989

Summary: [git] Silent error when I checkout a remote branch that exists locally
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Project Inbox <e4.orion-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2011-06-21 16:13:45 EDT
Using 0.2 RC2

1. Clone a Git repo. (I used my Github repo)
2. Go to Repositories page.
3. Expand [repo name] > Remote > origin, and click the "Checkout" button beside refs/remotes/origin/master
3. Nothing happens in the UI, but an error appears in the console:

> arguments: undefined
> message: "Unable to load /gitapi/branch/file/s/ status:500"
> responseText: "{"HttpCode":500,"DetailedMessage":"Ref master already exists","Message":"Failed to handle /git/branch request for file/s/","Severity":"Error","Code":0}"
> stack: "—"
> status: 500
Comment 1 Szymon Brandys CLA 2011-06-22 03:45:34 EDT
.

*** This bug has been marked as a duplicate of bug 348384 ***