Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » why are (cvs) "remove from view" settings non-persistent
why are (cvs) "remove from view" settings non-persistent [message #452632] Mon, 10 July 2006 22:07 Go to next message
Eclipse UserFriend
Originally posted by: claytontong.netscape.net

in the Team Synchronization view, there is an option to "remove from view"
a file or directory; this removes said file from being displayed so as to
allow a way to remove clutter from the view. All fine and good. However,
as documented in the manual, these settings are not saved and you will be
placed back at square 1 after you destroy the workspace and start over.
Does anyone know why this was chosen instead of saving these settings so
that they are retained from session to session?
Re: why are (cvs) "remove from view" settings non-persistent [message #452693 is a reply to message #452632] Wed, 12 July 2006 18:28 Go to previous messageGo to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
AFAIK, the setting is saved "until the synch state changes" (e.g., if you make a further change to
the resource[s] removed from view). Of course recreating a WS (a major life-cycle event) changes the
synch state, of *all* resources.

Paul
Re: why are (cvs) "remove from view" settings non-persistent [message #452704 is a reply to message #452632] Thu, 13 July 2006 07:40 Go to previous messageGo to next message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
Because this is a feature to remove files not to be synced from the sync
view during the current sync. You should still have the capability to
sync the resource upon another time.
If you want to ignore resources during sync you will have to add them to
the .cvsignore file.
This will only work if the file being added wasn't allready committed.
If anybody know a way of making a file being ignored after being
committed I'd appreciate them telling.

Regards
Stefan

Clayton Tong wrote:
> in the Team Synchronization view, there is an option to "remove from
> view" a file or directory; this removes said file from being displayed
> so as to allow a way to remove clutter from the view. All fine and
> good. However, as documented in the manual, these settings are not
> saved and you will be placed back at square 1 after you destroy the
> workspace and start over. Does anyone know why this was chosen instead
> of saving these settings so that they are retained from session to session?
>
making a file being ignored after being committed [message #452755 is a reply to message #452704] Thu, 13 July 2006 19:33 Go to previous messageGo to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
<< If anybody know a way of making a file being ignored after being committed I'd appreciate them
telling. >>

It's tricky but can be done.

a) add it to .cvsignore (probably you already have done that)
b) move the file to somewhere outside eclipse (so now it is gone from the WS)
c) commit (so it gets deleted from the repository)
d) get *everyone* who is checking out to update (so it gets deleted from their WS too; if they do
need a local copy, get them to imitate steb "b")
e) now retrieve the file from its temporary location

I say I did this (more than once), but not lately, and I may have missed a step in my description.
Step "d" is the tricky but crucial step.

HTH,
Paul
Re: making a file being ignored after being committed [message #452773 is a reply to message #452755] Fri, 14 July 2006 08:34 Go to previous messageGo to next message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
This will destroy the history of the file if I ever choose to add it
again right?

Thanks for the tip
Stefan

Paul Keyser wrote:
> << If anybody know a way of making a file being ignored after being
> committed I'd appreciate them telling. >>
>
> It's tricky but can be done.
>
> a) add it to .cvsignore (probably you already have done that)
> b) move the file to somewhere outside eclipse (so now it is gone from
> the WS)
> c) commit (so it gets deleted from the repository)
> d) get *everyone* who is checking out to update (so it gets deleted from
> their WS too; if they do need a local copy, get them to imitate steb "b")
> e) now retrieve the file from its temporary location
>
> I say I did this (more than once), but not lately, and I may have missed
> a step in my description. Step "d" is the tricky but crucial step.
>
> HTH,
> Paul
Re: making a file being ignored after being committed [message #452833 is a reply to message #452773] Mon, 17 July 2006 14:35 Go to previous message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
Stefan Langer wrote:
> This will destroy the history of the file if I ever choose to add it
> again right?
>
Not sure -- we never tried that. However, generally when I delete a file from CVS, then later
recreate it under the exact same path/name, the old history seems to come back.

Paul
Previous Topic:tree and table viewer
Next Topic:Contributing about menu?
Goto Forum:
  


Current Time: Sat Oct 05 13:45:20 GMT 2024

Powered by FUDForum. Page generated in 0.03992 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top