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

Bug 367434

Summary: Git client broken by branch with slash in the name
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: GitAssignee: Project Inbox <orion.git-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys, tomasz.zarna
Version: 0.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-12-22 10:52:49 EST
I created a branch containing a slash character (bug367426/content-assist), and discovered the Orion Git client can't handle it. For example on git status page I get:


http://localhost:8080/gitapi/commit/bug367426/content-assist/file/d/?page=1&pageSize=5

Failed to load resource: the server responded with a status of 405 (HTTP method GET is not supported by this URL)

Using slash in branch names is a common naming convention for topic branches in Git. For example see bug 362363 where they are discussing using the convention "userid/topic" for branch names.
Comment 1 Szymon Brandys CLA 2011-12-22 11:08:40 EST
We already have bug for that. The same problem with branches with #.
Comment 2 Tomasz Zarna CLA 2011-12-22 11:11:46 EST
(In reply to comment #1)
> We already have bug for that. The same problem with branches with #.

It's bug 347943.
Comment 3 John Arthorne CLA 2011-12-23 10:23:58 EST

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