Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 42857

Summary: [CVS Repo View] Browse Attic in repo view
Product: [Eclipse Project] Platform Reporter: Oyvind Harboe <oyvind.harboe>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: cytisus
Version: 3.0Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Oyvind Harboe CLA 2003-09-10 07:41:52 EDT
I haven't found a way to manipulate deleted files that are under CVS.

Example:

1. Create a new project
2. Commit in some files.
3. Delete all files in project.
4. Commit the deletions.

From the CVS perspective, try to examine one of the deleted files.


Øyvind
Comment 1 Michael Valenta CLA 2003-09-10 08:50:45 EDT
There is a Team>Restore from Repository command which allows you to restore 
any files that are in the CVS Attic (i.e. deleted from HEAD). Try it on the 
project.
Comment 2 Oyvind Harboe CLA 2003-09-10 08:58:19 EDT
>There is a Team>Restore from Repository command which allows you 
>to restore any files that are in the CVS Attic (i.e. deleted from 
>HEAD). Try it on the project.

I see.

It is rather hidden, especially when the starting point is to restore files 
from deleted projects...

How about adding a "Restore project" that is a shortcut for checking out as a 
project and then bringing the user directly to "Team->Restore"?

Øyvind

Comment 3 Michael Valenta CLA 2003-09-10 09:09:28 EDT
The workflow as I see it is:

1) You have a project locally and you want to restore a deleted file from the 
repository.
2) You go to the Team menu because that's where all the repository related 
actions are
3) You choose Restore from Repository and see all the deleted files
4) You pick the one you want.

I don't understand why someone would delete all the files in a project. This 
seems to me to be a very rare case. Given this, a Restore Project in the 
repositories view would be confusing in most cases since usually projects 
would already have files in them.
Comment 4 Oyvind Harboe CLA 2003-09-10 09:16:28 EDT
>The workflow as I see it is:
>
>1) You have a project locally and you want to restore a deleted 
>file from the repository.

Actually, my starting point was that I didn't have a project locally.

Why not list deleted files in the CVS repository view? 

That way I could examine the history of deleted files without checking out the 
project.

>I don't understand why someone would delete all the files in a project. 

Thats common enough. When a project is deleted, all files are deleted from the 
project.

In my case I had a project that became obsolete, so I deleted it. Later on I 
discovered that I needed to examine the changes I did.

Øyvind
Comment 5 Michael Valenta CLA 2003-09-10 09:23:39 EDT
I'll buy that. But all we can do from the repo view is browse since we don't 
support file checkout.
Comment 6 Michael Valenta CLA 2005-02-07 14:13:01 EST
*** Bug 84160 has been marked as a duplicate of this bug. ***
Comment 7 John Kaniarz CLA 2005-02-09 10:53:50 EST
(In reply to comment #6)
> *** Bug 84160 has been marked as a duplicate of this bug. ***

I just wanted to point out that this affects more then just deleted files. 
Files that were added to a branch, but not the trunk are only stored in the Attic. 
Comment 8 Michael Valenta CLA 2005-05-09 14:37:04 EDT
There is currently no plan to address this item.
Comment 9 Denis Roy CLA 2009-08-30 02:23:54 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.