| Summary: | [server][git]405 error for getting commit log and remote log for repository in subfolder | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Malgorzata Janczarska <malgorzata.tomczyk> |
| Component: | Client | Assignee: | Tomasz Zarna <tomasz.zarna> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | 347766 | ||
| Bug Blocks: | |||
|
Description
Malgorzata Janczarska
(In reply to comment #0) > locations returned in metadata in Git.CloneLocation or Git.CommitLocation (with ?page=1) What are they? (In reply to comment #1) > (In reply to comment #0) > > locations returned in metadata in Git.CloneLocation or Git.CommitLocation > (with ?page=1) > > What are they? My repository is situated in /file/f/github_readonly and the git section returned by GET /file/f?depth=1: "Git": { "CloneLocation": "/git/clone/file/f/github_readonly/", "CommitLocation": "/git/commit/HEAD/file/f/github_readonly/", "DefaultRemoteBranchLocation": "/git/remote/origin/master/file/f/github_readonly/", "DiffLocation": "/git/diff/Default/file/f/github_readonly/", "IndexLocation": "/git/index/file/f/github_readonly/", "RemoteLocation": "/git/remote/file/f/github_readonly/", "StatusLocation": "/git/status/file/f/github_readonly/", "TagLocation": "/git/tag/file/f/github_readonly/" }, Git.CloneLocation is fine. I've fixed Git.CommitLocation though. See http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=0bb29cb11459eb5d97e5d91b890924450c860d8d. Sorry, it's a bad fix, GitStatusTest#testFileLogFromStatus to fail. I'm on it. Proper fix: http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=b7ee3a2544368ba9638d81fda1c06346a19c0a0e. Sorry for the noise. |