Bug 152919 [Import/Export] import existing project w/ copy is inefficient
I just tried to import some existing projects and selected "copy projects into workspace". After a long time (sorry, no measurements) I had to cancel the request, because I was running out of disk space. I had just succeeded in importing the first project (jdt core), which takes approx. 80MB disk space, but at that time the previously blank workspace consumed additional 300MB mainly in: .metadata/.plugins/org.eclipse.core.resources/.history/ Is this operation recording undo-information for each single file imported? Unless I made something really stupid, this operation seems not to be usable for large projects.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
*/
	protected boolean getFilesForProject(Collection files,
			IImportStructureProvider provider, Object entry) {
		List children = provider.getChildren(entry);
		Iterator childrenEnum = children.iterator();
		while (childrenEnum.hasNext()) {
			Object child = childrenEnum.next();
			
			
			files.add(child);
			
			
			if (provider.isFolder(child)) {
				getFilesForProject(files, provider, child);
			}
		}
		return true;
	}
	/**
	 * The <code>WizardDataTransfer</code> implementation of this
	 * <code>IOverwriteQuery</code> method asks the user whether the existing
	 * resource at the given path should be overwritten.
	 * 
	 * @param pathString
	 * @return the user's reply: one of <code>"YES"</code>, <code>"NO"</code>,
	 *         <code>"ALL"</code>, or <code>"CANCEL"</code>
	 */
	public String queryOverwrite(String pathString) {
		Path path = new Path(pathString);
		String messageString;