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 20383 - The VCS does not work correctly when delegated by MultiFS
Summary: The VCS does not work correctly when delegated by MultiFS
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on: 20385
Blocks:
  Show dependency tree
 
Reported: 2002-02-08 18:36 UTC by Jaroslav Tulach
Modified: 2003-07-01 12:55 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 Jaroslav Tulach 2002-02-08 18:36:36 UTC
I have a complaint about the VCS (actually JavaCVS) FS used under TreeFS. I can
imagine the reply - treefs is not in standard distribution, but that does not
matter. There is a problem in VCSFS that guys in web module has to workaround in
ugly ways.

So I believe that it is important for everyone to improve the VCS:
1. the web DelegatingFS will not need the ugly workarounds
2. the treefs starts to work
3. the web guys will be able to delete its DelegatingFS and start to use the
shared instance in treefs

That is why I report that some actions (version explorer, refresh and maybe more
) does not work correctly when invoked from TreeFS over JavaCVS.
Comment 1 Jaroslav Tulach 2002-02-08 18:39:42 UTC
I believe the fix is not hard. It is just necessary to consistently
switch from casting to (VCSFileSystem)fileObject.getFileSystem ()
to fileObject.getAttribute ("VCSProvider") or something like that. 

This will work correctly thru any number of MFS on top of VCSFS.


Comment 2 Martin Entlicher 2002-02-11 13:23:58 UTC
I thought, that Milos uses the attribute approach in JavaCVS.
In any case, it has to be fixed in vcscore (and possibly vcsgeneric)
modules. I would like to make this change after the vcs APIs will be
stabilized.

There's an associated issue #19086. Perhaps one should be a duplicate.
Comment 3 Milos Kleint 2002-02-18 13:32:57 UTC
things that I figured don't work with treefs, are (in build 200202150100):

1. Versioning explorer action doesn't work, it doesn't open th
versionign explorer view and doesn't select the right nodes there.

2. the filesystem actions are not visible in the Versioning menu.

I couldn't figure out what's wrong and not working with Refresh..

Comment 4 Milos Kleint 2002-02-18 14:34:26 UTC
ok, the things I mentioned in the comment are fixed now.. should work
for javacvs and vcsgeneric as well..
Comment 5 dmladek 2002-02-19 10:04:00 UTC
verified on NetBeans IDE Development Version (Build 200202190100):
The functionality over FSview with cvs actions (popup menu, commands,
versioning explorer...) behaves as expected.
Comment 6 Jaroslav Tulach 2002-02-20 16:51:22 UTC
Yes, seems to work, except the versioning explorer of course...
Comment 7 Milos Kleint 2002-02-20 17:56:28 UTC
what's not working with the versioning explorer?
Comment 8 Quality Engineering 2003-07-01 12:55:19 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.