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

Bug 336504

Summary: Unable to push after remote configure
Product: [Technology] EGit Reporter: Paul Webster <pwebster>
Component: UIAssignee: Mathias Kinzler <mathias.kinzler>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: caniszczyk, christian.halstrick, mathias.kinzler
Version: 0.11   
Target Milestone: 0.11   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Paul Webster CLA 2011-02-07 08:54:17 EST
1) I used Team>Share to create a git repo inside my project.
2) Then I used the Git Repository Explorer to create a bare repo.
3) then I Pushed from my project repo to the new bare repo.
4) Then I configured origin on my project git repo and set push/fetch to the bare repo.

When I tried a pull from the bare repo, I get:


eclipse.buildId=I20110204-0715
java.fullversion=JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr9-20101124_69295 (JIT enabled, AOT enabled)
J9VM - 20101124_069295
JIT  - r9_20101028_17488ifx2
GC   - 20101027_AA
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64 -data /opt/pwebster/workspaces/e4


Error
Fri Feb 04 08:54:33 EST 2011
No value for key branch.master.remote found in configuration

org.eclipse.jgit.api.errors.InvalidConfigurationException: No value for key branch.master.remote found in configuration
at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:175)
at org.eclipse.egit.core.op.PullOperation$1.run(PullOperation.java:68)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2312)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2294)
at org.eclipse.egit.core.op.PullOperation.execute(PullOperation.java:77)
at org.eclipse.egit.ui.internal.actions.PullFromUpstreamActionHandler$1.run(PullFromUpstreamActionHandler.java:66)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


I have a nightly installed:
Eclipse EGit (Incubation)	0.11.0.201102031130	org.eclipse.egit.feature.group

PW
Comment 1 Mathias Kinzler CLA 2011-02-08 02:58:01 EST
Ouch. Fix to be reviewed at

http://egit.eclipse.org/r/#change,2453
Comment 2 Chris Aniszczyk CLA 2011-02-08 08:27:37 EST
Sorry, push fix to stable-0.11.