Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336621 - Cannot pull from a repository cloned with CloneCommand
Summary: Cannot pull from a repository cloned with CloneCommand
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 0.11   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.12-M1   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-08 09:11 EST by Tomasz Zarna CLA
Modified: 2011-02-13 16:35 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-02-08 09:11:13 EST
The CloneCommand[1] works great, the only thing I'm missing is that it doesn't update the repository configuration. To pull changes I had to manually set "merge" and "remote" fields in the configuration. The CloneOperation from egit.core did that for me.
	
[1] org.eclipse.jgit.api.CloneCommand, bug 330898
Comment 1 Chris Aniszczyk CLA 2011-02-08 09:20:46 EST
Proposed fix: http://egit.eclipse.org/r/#change,2456

Probably needs a unit test to make me happy with it.
Comment 2 Chris Aniszczyk CLA 2011-02-13 16:35:13 EST
Fixed for 0.12...