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 256560 - Initialize Git Repository listed twice on project context menu
Summary: Initialize Git Repository listed twice on project context menu
Status: RESOLVED DUPLICATE of bug 256202
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote VCS (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-12 15:16 UTC by MackSix
Modified: 2015-11-12 19:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2015-11-12 15:16:52 UTC
1. Right click on project node in Projects windows.
2. Goto Versioning

Initialize Git Repository is listed twice on project context menu.

(Initialize Mercurial Repository is listed twice too.)

Product Version: NetBeans IDE 8.1 (Build 201510222201)
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b17
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b17
System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
Comment 1 Ondrej Vrabec 2015-11-12 15:23:54 UTC
I think the second items come from the remote equivalents (remote Git, remote Hg). Alex, can you name the actions differently?
Comment 2 MackSix 2015-11-12 15:34:22 UTC
(In reply to Ondrej Vrabec from comment #1)
> I think the second items come from the remote equivalents (remote Git,
> remote Hg). Alex, can you name the actions differently?

I just looked at NetBeans IDE Dev (Build 201511110002) and they are not listed twice. 

There is two listing in "Team" on the toolbar, but in the Dev build the remote listing has no content. When I hover over the entry, there is no additional menu. In 8.1, there is an additional menu that pops up. This is the same for Mecurial too. 

There is also a Remote Subversion entry with no additional menu in the Dev build too.
Comment 3 Alexander Simon 2015-11-12 15:37:13 UTC

*** This bug has been marked as a duplicate of bug 256202 ***
Comment 4 MackSix 2015-11-12 15:49:15 UTC
(In reply to Alexander Simon from comment #3)
> 
> *** This bug has been marked as a duplicate of bug 256202 ***

Should I file bug for missing remote menus under Team on Toolbar in the Dev version?
Comment 5 Alexander Simon 2015-11-12 15:53:24 UTC
(In reply to MackSix from comment #4)
> (In reply to Alexander Simon from comment #3)
> > 
> > *** This bug has been marked as a duplicate of bug 256202 ***
> 
> Should I file bug for missing remote menus under Team on Toolbar in the Dev
> version?

Remote VCS menu avaliable if you have at least one connected remote host.
To see sub-menu:
- add remote host
- make it default
Comment 6 MackSix 2015-11-12 16:01:33 UTC
(In reply to Alexander Simon from comment #5)
> (In reply to MackSix from comment #4)
> > (In reply to Alexander Simon from comment #3)
> > > 
> > > *** This bug has been marked as a duplicate of bug 256202 ***
> > 
> > Should I file bug for missing remote menus under Team on Toolbar in the Dev
> > version?
> 
> Remote VCS menu avaliable if you have at least one connected remote host.
> To see sub-menu:
> - add remote host
> - make it default

Ok, I am not familiar with that. One more question though, is the connected remote host different than having this in the git config? In other words, should I see the Toolbar Remote Git menu if I have this in my git config and it is functions?

[remote "origin"]
	url = https://MackSix@github.com/MackSix/tcpl-containers.git
	fetch = +refs/heads/*:refs/remotes/origin/*

Thanks!
Comment 7 Alexander Simon 2015-11-12 17:48:14 UTC
(In reply to MackSix from comment #6)
> Ok, I am not familiar with that. One more question though, is the connected
> remote host different than having this in the git config? In other words,
> should I see the Toolbar Remote Git menu if I have this in my git config and
> it is functions?
> 
> [remote "origin"]
> 	url = https://MackSix@github.com/MackSix/tcpl-containers.git
> 	fetch = +refs/heads/*:refs/remotes/origin/*
> 
> Thanks!
Remote VCS works on remote File System (file system that available on server (remote host)).
Local VCS works on local File System.

For example:
A project is located on your hard disk. Local VCS executes commands on your computer and have access to your hard disk file system.
A project is located on remote host. IDE connects to remote host by ssh connection. Remote VCS executes command on remote host (by ssh channel).

So url = https://MackSix@github.com/MackSix/tcpl-containers.git:
- in local VCS is how git access to remote repository from your computer using env settings of your computer.
- in remote VCS is how git on remote host access to remote repository using env settings on remote host.

Hope it help.
Comment 8 MackSix 2015-11-12 19:34:54 UTC
(In reply to Alexander Simon from comment #7)
> (In reply to MackSix from comment #6)
> > Ok, I am not familiar with that. One more question though, is the connected
> > remote host different than having this in the git config? In other words,
> > should I see the Toolbar Remote Git menu if I have this in my git config and
> > it is functions?
> > 
> > [remote "origin"]
> > 	url = https://MackSix@github.com/MackSix/tcpl-containers.git
> > 	fetch = +refs/heads/*:refs/remotes/origin/*
> > 
> > Thanks!
> Remote VCS works on remote File System (file system that available on server
> (remote host)).
> Local VCS works on local File System.
> 
> For example:
> A project is located on your hard disk. Local VCS executes commands on your
> computer and have access to your hard disk file system.
> A project is located on remote host. IDE connects to remote host by ssh
> connection. Remote VCS executes command on remote host (by ssh channel).
> 
> So url = https://MackSix@github.com/MackSix/tcpl-containers.git:
> - in local VCS is how git access to remote repository from your computer
> using env settings of your computer.
> - in remote VCS is how git on remote host access to remote repository using
> env settings on remote host.
> 
> Hope it help.

Thank you!