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

Bug 340318

Summary: Undo Delete does not restore the latest file state but the version before
Product: [Technology] Subversive Reporter: Jan Mauersberger <mauersberger>
Component: CoreAssignee: Igor Burilo <igor.burilo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jan Mauersberger CLA 2011-03-17 10:18:44 EDT
Build Identifier: M20100909-0800

Undo Delete does not work for shared projects as it is working for non-shared projects. The standard ResourceTree.internalDeleteFile creates a new entry in the local file history before deleting the file. The SVn hook is not doing this but uses the last entry in the file history to *restore* the file on undo.

Reproducible: Always

Steps to Reproduce:
1. Prepare a shared project with some files (any type), be up to date
2. Modify an arbitrary file and save the changes
3. Now delete the file
4. Now undo the deletion

After the undo the state *before* the modification is restored.
Comment 1 Alexander Gurov CLA 2011-04-02 02:41:52 EDT
Thank you for reporting the issue it is fixed for both now: delete and move actions.
Comment 2 Jan Mauersberger CLA 2011-04-05 02:36:41 EDT
Alexander, tanks for quickly fixing this. Is there any information about when this fix will be released?