Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Workbench User Guide
Previous Page Home Next Page

Restoring deleted files from the repository

The CVS plug-in allows you to delete files from the CVS repository. If you delete a managed file and commit the deletion to the server, the file is deleted from the current branch or version. Although the file has been deleted from the current branch, the file and its previous revisions are actually still on the server. The CVS plug-in provides a tool to help restore a file to your workspace that has previously been deleted from the CVS repository:

  1. Select a folder managed by CVS and from the context menu select Team > Restore from Repository.
  2. The repository will be searched for deleted files and the list will be shown in a dialog.
  3. Select a file in the left most pane to display the revisions of the file that are available in the repository.
  4. Select a revision in the right-most pane to view the contents in the bottom text pane.
  5. Check the revision that you would like to restore.
  6. Click Finish once you have checked off a revision for each file you wish to restore.
  7. After restoring the file if you want to actually restore the file to the current branch you have to add then commit the file back into the repository. If the filename does not change, revision history will be maintained for the restored file.

Related concepts
Team programming with CVS

Related tasks
Synchronizing with the repository
Committing


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire