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 44218 - Document why VCS FS must be retained
Summary: Document why VCS FS must be retained
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks: 43637
  Show dependency tree
 
Reported: 2004-06-02 16:12 UTC by Miloslav Metelka
Modified: 2011-09-19 22:31 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miloslav Metelka 2004-06-02 16:12:46 UTC
As there is a long-term goal to abandon VCS FS it
would be nice to document and track what is
currently blocking this effort.

At least two issues were mentioned on the review:

FileObject.lock() can result in visual asking
whether a readonly file should be checked out and
made read-write (e.g. for Visual SourceSafe)

VCS FS is sensitive to ongoing update running
which could overwrite the files on the disk
however if those files would be opened in the
editor and possibly modified there would be a
potential dataloss. The changes made in the file
by the VCS update would be overwritten by the
editor when the file would be saved.
Comment 1 Miloslav Metelka 2004-11-09 14:02:47 UTC
Removed TCR keyword. This issue is still importnant though it's not
critical for the currently discussed solution.
Comment 2 _ pkuzel 2004-11-23 09:09:44 UTC
Tomas could you link the analysis document, please?
Comment 3 Tomas Pavek 2004-11-23 12:32:45 UTC
There is no such document to link. I created a list of FS roles in VCS
as part of one document, but the list is likely incomplete, and the
document talks about way too many other things. I expected someone
having deeper understanding of VCS would write this list. My
observations about VCS FS roles were (excluding roles already replaced):

* providing annotations and actions for UI
* virtual files (just locally removed)
* locking files during update
* automatic checkout/edit (when a file is requested to be edited)
* intercepting file operations (not sure if currently used)

VCS FS is used also for many other things (as it is config root for
everything), but those are not related to the FS API.