This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240342 - org.eclipse.jgit.errors.RevisionSyntaxException:refs/heads/(no branch)
Summary: org.eclipse.jgit.errors.RevisionSyntaxException:refs/heads/(no branch)
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-12 13:40 UTC by rafaeldev
Modified: 2014-01-15 02:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203318


Attachments
stacktrace (3.48 KB, text/plain)
2014-01-12 13:40 UTC, rafaeldev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rafaeldev 2014-01-12 13:40:00 UTC
Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
GUEST: problem wheen pushing

GUEST: <Please provide a description of the problem or the steps to reproduce>
pull git to bitbucket

rafaeldev: push on branch

GUEST: <Please provide a description of the problem or the steps to reproduce>
can't pull remote

GUEST: Pushing git of phabricator

GUEST: al tratar d crear un tag para bitbuket




Stacktrace: 
org.eclipse.jgit.errors.RevisionSyntaxException:refs/heads/(no branch)
   at org.eclipse.jgit.lib.Repository.resolve(Repository.java:706)
   at org.eclipse.jgit.lib.Repository.resolve(Repository.java:385)
   at org.eclipse.jgit.transport.RemoteRefUpdate.<init>(RemoteRefUpdate.java:192)
   at org.eclipse.jgit.transport.Transport.findRemoteRefUpdatesFor(Transport.java:635)
   at org.netbeans.libs.git.jgit.commands.PushCommand.runTransportCommand(PushCommand.java:111)
   at org.netbeans.libs.git.jgit.commands.TransportCommand.run(TransportCommand.java:140)
Comment 1 rafaeldev 2014-01-12 13:40:02 UTC
Created attachment 143862 [details]
stacktrace
Comment 2 Ondrej Vrabec 2014-01-13 10:34:41 UTC
The reason is that you do not have any named branch checked out. Your working tree is in the detached head state. Make sure you check out a named local branch.

fix: http://hg.netbeans.org/core-main/rev/9495a56947be
Comment 3 Quality Engineering 2014-01-15 02:38:12 UTC
Integrated into 'main-silver', will be available in build *201401150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9495a56947be
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #240342 - org.eclipse.jgit.errors.RevisionSyntaxException:refs/heads/(no branch)
make sure (no branch) is not listed in the panel.