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 207806 - Even after committing the changes to subversion , NetBeans stills showing the file status as "Locally modified".Even it is happening for new files also even though the file is added to subversion.
Summary: Even after committing the changes to subversion , NetBeans stills showing the...
Status: RESOLVED DUPLICATE of bug 155045
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
: 207902 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-27 07:02 UTC by pavanvusirika
Modified: 2012-02-08 09:58 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 pavanvusirika 2012-01-27 07:02:39 UTC
Product Version = NetBeans IDE 7.1 (Build 201112071828)
Operating System = Linux version 3.0.0-15-generic running on i386
Java; VM; Vendor = 1.6.0_26
Runtime = Java HotSpot(TM) Client VM 20.1-b02
Comment 1 Ondrej Vrabec 2012-02-02 08:38:11 UTC
What is the file type? Is it any file? If you close it and reopen, is the status correct? What's the color of the file in the Projects view?
Comment 2 pavanvusirika 2012-02-02 13:36:52 UTC
What i did is 'I committed from command line(not from netbeans)'.Then the updated file tab text color is BLUE and the newly added(even added and committed to subversion) file is showing in GREEN.Even after closing and reopening results the same(GREEN & BLUE).

  But when I say Right clik, Subversion->Update on the project from Netbeans then they were shown in BLACK color (means no local changes).
Comment 3 pavanvusirika 2012-02-02 13:41:07 UTC
For your information that is a maven java web project.
What i did is 'I committed from command line(not from netbeans)'.Then the
updated file tab text color is BLUE and the newly added(even added and
committed to subversion) file is showing in GREEN.Even after closing and
reopening results the same(GREEN & BLUE).

  But when I say Right clik, Subversion->Update on the project from Netbeans
then they were shown in BLACK color (means no local changes).

It hadn't happened with the previous Netbean versions(7.0.1).


(In reply to comment #1)
> What is the file type? Is it any file? If you close it and reopen, is the
> status correct? What's the color of the file in the Projects view?

(In reply to comment #1)
> What is the file type? Is it any file? If you close it and reopen, is the
> status correct? What's the color of the file in the Projects view?
Comment 4 Ondrej Vrabec 2012-02-02 13:44:15 UTC
External commits are not (and never were) caught by the IDE, we do not support that. After such an external change you need to refresh the files manually using Subversion -> Show Changes on a project's node.

*** This bug has been marked as a duplicate of bug 155045 ***
Comment 5 Ondrej Vrabec 2012-02-02 22:44:27 UTC
*** Bug 207902 has been marked as a duplicate of this bug. ***
Comment 6 pavanvusirika 2012-02-08 09:48:41 UTC
Then what is "Checking for external changes....." status message in Netbeans...?

(In reply to comment #4)
> External commits are not (and never were) caught by the IDE, we do not support
> that. After such an external change you need to refresh the files manually
> using Subversion -> Show Changes on a project's node.
> 
> *** This bug has been marked as a duplicate of bug 155045 ***
Comment 7 Ondrej Vrabec 2012-02-08 09:58:06 UTC
(In reply to comment #6)
> Then what is "Checking for external changes....." status message in
> Netbeans...?
Files are scanned for changes in them. But because subversion commit does not change anything inside committed files, there is no reason to recompute anything (not even the files' subversion status).