Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336504 - Unable to push after remote configure
Summary: Unable to push after remote configure
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.11   Edit
Hardware: PC Linux
: P3 major with 1 vote (vote)
Target Milestone: 0.11   Edit
Assignee: Mathias Kinzler CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 08:54 EST by Paul Webster CLA
Modified: 2011-02-08 08:27 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.