Reputation: 19880
GIVEN: I have HTML5 Application with Existing Sources and files tree in Projects Tab. Files are from a remote server, mounted with a local path. Mounted path is used in Project and Site Root Folder parameters. So I work with files as local user, not as server user.
PROBLEM: Some file names in Projects Tab and File Tabs I have worked with are marked green, some blue. Green is commented as locally copied, blue as locally modified. But all these files were opened, modified and saved. Changes are applied as follows from browser tests.
QUESTION: What do these marks mean? Will it affect saving files to server or distributing using mercurial? Why doing the same on different files (open, edit, save) results in different colors?
Upvotes: 1
Views: 7430
Reputation: 19880
I found exact Netbeans setting for this sort of indication. It can be found at Tools - Options - Fonts & Colors - Versioning - Versioning systems - Mercurial/Subversion/Git - Highlighting:
green:
blue:
red:
grey:
black:
Understanding versioning colors is clearer when you consider three levels of files storage:
Upvotes: 3
Reputation: 4727
Let's make sure I understood your use case:
ANSWER
If my assumptions are correct, the green and blue marks are for the state of the file relative to the SCM point of view. They are uncommited files that were modified, removed, added etc.
Even if you are "seeing" local files, they are files on the server. Any change on them will be made to the files on the server. Mounting a remote shared directory is just a way to remote files be acessible as if they were local.
So:
The colors on NetBeans are:
If the filename is bold, the file is unsaved.
Upvotes: 4