Bug 161828 [Undo] - second undo on folder move/copy merge restores old snapshot
Project A folder file1 file2 file3 file4 subfolder file1 file2 file3 file4 Move the "folder" to this existing project: Project B folder file1 file2 file3 file4 file5 file6 subfolder file1 file2 file3 file4 The move operation correctly replaces the content of file1, file2, file3, file4 in the ProjectB folder and the content of file1, file2, file3, file4 in the subfolder. Undo the move. The files return to their original location in ProjectA, and the content of the files in ProjectB have reverted to their content before the move. Redo the move. Everything still fine. Undo the move. Now the files have returned to their original location in ProjectA, but the content of the files in ProjectB still have the content from the ProjectA files.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/undo/ResourceDescription.java
/**
	 * Create a resource handle that can be used to create a resource from this
	 * resource description. This handle can be used to create the actual
	 * resource, or to describe the creation to a resource delta factory.
	 * 
	 * @return the resource handle that can be used to create a resource from
	 *         this description
	 */
	public abstract IResource createResourceHandle();
	/**
	 * Get the name of this resource.
	 * 
	 * @return the name of the Resource
	 */
	public abstract String getName();
	/**
	 * Create an existent resource from this resource description.
	 * 
	 * @param monitor
	 *            the progress monitor to use
	 * @return a resource that has the attributes of this resource description
	 * @throws CoreException
	 */
	public IResource createResource(IProgressMonitor monitor)
			throws CoreException {
		IResource resource = createResourceHandle();
		createExistentResourceFromHandle(resource, monitor);
		restoreResourceAttributes(resource, monitor);
		return resource;
	}