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 32540 - POTENTIAL LOSS OF CONCURRENT WORK!!! - the working copy thinks that it is up-to-date when it is not
Summary: POTENTIAL LOSS OF CONCURRENT WORK!!! - the working copy thinks that it is up-...
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-01 18:27 UTC by lhall
Modified: 2007-01-04 17:14 UTC (History)
0 users

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 lhall 2003-04-01 18:27:26 UTC
Programmer "A" commits a change to a text file (oddly, we 
haven't caught this happening to a Java source).  
Programmer "B" does an update and sees a "patch" come 
through, but the working file is not changed.  The 
revision number in the repository and Programmer "B"s 
working directory are identical (as expected when the file 
is patched), but the contents are not.  Diff (between 
working copy and the HEAD) doesn't show anything, but the 
versioning explorer does show the correct differences.

The CVS/Entries file is getting updated, even though the 
working file is not.

Update with "get clean copy" will bring in the change. But 
the problem persists for future updates.  Only a "get 
clean copy" will truly bring the file up to date.

Sometimes - and this seems random - making a change in the 
latter part of the file will "fix" the problem.
Comment 1 Martin Entlicher 2003-04-02 08:10:30 UTC
Do I understand it correctly, that the Editor content of that file is
not updated, but the file on disk is?
If this is true, I think, that this problem was already solved in dev
and 3.5 builds.
Comment 2 Martin Entlicher 2003-04-02 12:15:53 UTC
There was issue #29688 solved in NB 3.5, but this solves a slightly
different problem.
But when a file is updated on disk it sould be updated in the Editor
as soon as it gets focus. Only modification of the file in Editor
could prevent from this. So after issue #29688 is fixed, the new file
content should be loaded automatically into Editor in all cases.
So I consider this as fixed in NB 3.5.
Comment 3 lhall 2003-04-08 14:56:16 UTC
Just confirming that the 200304072350 build of 3.5 does 
contain the fix, and it does indeed resolve the problem.

Thanks!  We love NetBeans!
Comment 4 Jiri Kovalsky 2003-04-10 15:50:39 UTC
Okay, verified then. Thanks for the info.