Problems with Mercurial->Status in NB 6.0
volker.simonis at gmail.com
Fri Jan 11 10:48:15 PST 2008
The problem is that I only have the "Mercurial" entry in the context
menu, if I choos the whole project (the top-most entry in the project view).
And if I choose it, I get just the newly added project files, but not
ones. If I choose the context menue on a directory in the project view,
I don't even get a Mercurial entry!
On 1/11/08, Kelly O'Hair <Kelly.Ohair at sun.com> wrote:
> Try selecting the entire project in the Projects window, then ask for Status.
> It's sensitive to the directory that's selected.
> Volker Simonis wrote:
> > Hi,
> > I just started to use NetBeans for OpenJDK HotSpot development and I have some
> > questions related to the Mercurial support in NetBeans:
> > I created a new C++ Project from the OpenJDK sources that I'd already fetched
> > on the command line with Mercurial (only jdk7/hotspot workspace). In NB, if I
> > right-click the project and select Mercurial->Status the status windows only
> > displays the new NB project files, but not the other changed files. If I open
> > a directory in the project view that contains such a changed file, this file
> > is correctly highlighted and flagged as "Modified". I can also call
> > "Mercurial->diff"
> > on a file and it works fine, but not on a directory. If I use the command line
> > "hg diff" in the specific directory, this works fine.
> > Why does the "Status" command doesn't show the changed files?
> > And why isn't it possible to call "Status" or "Diff" on a directory in the
> > project view? They only work for the whole project or for a single file.
> > I use:
> > - mercurial 0.9.5 with the forest extension
> > - NetBeans 6.0
> > Product Version: NetBeans IDE 6.0 (Build 200711261600)
> > Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
> > System: Linux version 2.6.5-7.283-bigsmp running on i386; UTF-8; en_US (nb)
> > - Mercurial plugin 18.104.22.168.1
> > Default-pull=http://hg.openjdk.java.net/jdk7/jdk7//hotspot
> > Default-push=http://hg.openjdk.java.net/jdk7/jdk7//hotspot
> > If I do a "Mercurial->Update" I get:
> > Mercurial Pull
> > ----------------
> > comparing with http://hg.openjdk.java.net/jdk7/jdk7//hotspot
> > searching for changes
> > no changes found
> > INFO Pull From: http://hg.openjdk.java.net/jdk7/jdk7//hotspot
> > INFO To: HotSpot.nb -
> > /net/sapmnt.hs0131.q_hs0131/dXXXXXX/OpenJDK/jdk7/hotspot
> > INFO: End of Mercurial Pull
> > "/net/sapmnt.hs0131.q_hs0131/dXXXXXX/OpenJDK/jdk7/hotspot" is the
> > OpenJDK hotspot directory which I've cloned. It contains the NB
> > project directory "HotSpot.nb" Does this look ok or have I missed
> > something?
> > Thanks for your support,
> > Volker Simonis
More information about the nb-projects-dev