Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347009 - [server] Can't fetch changes from a remote
Summary: [server] Can't fetch changes from a remote
Status: RESOLVED DUPLICATE of bug 342727
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 347005
  Show dependency tree
 
Reported: 2011-05-24 11:45 EDT by Szymon Brandys CLA
Modified: 2011-08-30 10:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Brandys CLA 2011-05-24 11:45:04 EDT
I do POST http://localhost:8080/git/remote/origin/file/h/ to fetch changes for a remote including fetching new branches. I get 202 Accepted which is fine and a link to the fetch task. Then when GET http://localhost:8080/task/id/MBFe2BqGABAaFKDWDmz6Zg is called I get:
error 500 while running opperation: One of setGitDir or setWorkTree must be called.
Comment 1 Tomasz Zarna CLA 2011-05-25 05:58:09 EDT
It's a dupe of bug 342727, see bug 342727 comment 1: the current shape of Git Remote API doesn't handle POSTs on /git/remote/{remote}/file/{...}.

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