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

Bug 37679

Summary: [plan item] Improve local history
Product: [Eclipse Project] Platform Reporter: Jim des Rivieres <jeem>
Component: ResourcesAssignee: DJ Houghton <dj.houghton>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P4 CC: eclipse, ekuleshov, jed.anderson, veronika_irvine
Version: 2.1Keywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Jim des Rivieres CLA 2003-05-15 10:59:22 EDT
Improve local history. The local history mechanism for resources in the 
workspace should be improved. Currently, clients of the IResource API control 
whether snapshot of a modified or deleted file gets captured in the local 
resource history. Unfortunately this makes local history less of a safety net 
than it could be if plug-ins do not use this mechanism properly. Eclipse 
should put in place a system-wide policy for resource history retention. The 
local resource history should also be better integrated with team repository 
providers, and allow users to selectively purge a file's local history when it 
is committed to a team repository. [Platform Core, Platform UI, Platform Team] 
[Theme: User experience]
Comment 1 John Arthorne CLA 2003-07-24 11:39:59 EDT
*** Bug 40660 has been marked as a duplicate of this bug. ***
Comment 2 John Arthorne CLA 2003-07-24 11:40:35 EDT
From bug 40660:

When debugging a problem involving an interaction between my plugin and 
eclipse (which happens every time there is a bug in eclipse that we can not 
reproduce with a standalone SWT example - i.e. a lot) I will import all of 
Eclipse into my workspace as "Projects with Source folders" and then start 
hacking - both in SWT and in other plugins.

The problem is that from time to time, I would like to see just exactly what I 
have hacked.  Since I am not connected to a repository, there is no indication 
of what projects or classes have been modified and no general way to do a 
comparison against the base (what I imported).

I think this is a pretty common scenario for people developing a sub-part of a 
large project.  Without the ability to quickly see what has been modified, the 
ability to import existing plugins as source is significantly reduced in 
usefulness.
Comment 3 Michael Scharf CLA 2003-11-26 19:51:14 EST
I would like to see some improvements of the local history:
- allow set "landmakrs" in the local history (points with a name in the history)
- landmarks should be applicable to resource, folders (recursively) or (sets 
of) projects.
- allow to see the history of an entire project similar to the CVS synchronize 
view. But here I wold either use a 'landmark' or specify some timestamp to 
which I want to compare (and merge!)

Why would I want this? Because I don't want to check in unstable versions of my 
project. However, in development I sometimes know, this is a good state and I 
maybe want to get back to this state. OK, I can copy the project to a save 
place, but the I would have to use an external tool to merge. I could also use 
branching, but I don't want to cast my local explorations into the CMS 
system....

Hmm, is there a way to "merge" with another snapshot of a project/workspace?

The 'landmarks' I proposed above is a bit like creating a snapshot of the 
workspace and recover to that snapshot with the possibility of merging. Using 
timestamps is effectively like creating a snapshot on each save....
Comment 4 Michael Valenta CLA 2003-12-11 12:35:02 EST
*** Bug 48413 has been marked as a duplicate of this bug. ***
Comment 5 Jean-Michel Lemieux CLA 2004-02-15 22:12:23 EST
If anyone is working on this plan item please see the new 3.0 Team APIs which
will allow local history to be integrated into the synchronize view. 
Comment 6 John Arthorne CLA 2004-05-07 15:52:24 EDT
Deferred from 3.0 plan
Comment 7 Eugene Kuleshov CLA 2005-08-19 11:00:43 EDT
From comments to Bug 48413

When CVS update is executed files are updated, however if you are working
offline you can't track these changes by using local history. 

It would be conveneient to see revision in the local history for each updated
file, perhaps with the comments from version control.

Anyway, is there are any plans to address this in 3.2?
Comment 8 John Arthorne CLA 2009-08-18 16:14:25 EDT
[LATER->WONTFIX] The "LATER" bugzilla resolution is being removed so reopening to mark as WONTFIX.
Comment 9 John Arthorne CLA 2009-08-18 16:20:27 EDT
[LATER->WONTFIX] The "LATER" bugzilla resolution is being removed so reopening to mark as WONTFIX.