blob: 42899710ed86377ded2138be59648a4306f76b24 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content=
"Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="STYLESHEET" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>Setting local history preferences</title>
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"></script>
</head>
<body bgcolor="#FFFFFF">
<h1>Setting local history preferences</h1>
<p>To indicate the level of local history that should be kept for each resource in the Workbench:</p>
<ol>
<li>Open the <a class="command-link" href=
'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.FileStates)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> <b>General &gt; Workspace &gt; Local
History</b></a> preference page.</li>
<li>In the <b>Limit history size</b> field, specify whether you want to limit the local history size using
following options.</li>
<li>In the <b>Days to keep files</b> field, type the number of days that you want to keep records for any one
Workbench resource. For example, if you type 7, then a history of saved states from the last seven days will be
kept.</li>
<li>In the <b>Maximum entries per file</b> field, type the number of states to keep for any one Workbench resource.
Note that when you exceed the number of entries per file, the oldest changes are discarded to make room for the
newer changes.</li>
<li>In the <b>Maximum file size (MB)</b> field, type the maximum file size (in MB) of a resource for which a local
history should be kept. If the size of the resource exceeds the maximum amount of file size allocated, no local
history is kept for that resource.</li>
<li>Click <b>OK</b> to set your preferences and close the Local History Preferences page.</li>
</ol>
<h3 class="related">Related concepts</h3><a href="../concepts/concepts-17a.htm">Local history</a><br>
<a href="../concepts/concepts-12.htm">Resources</a>
<h3 class="related">Related tasks</h3><a href="tasks-70.htm">Comparing resources with the local history</a><br>
<a href="tasks-87.htm">Replacing a resource with local history</a><br>
<a href="tasks-87b.htm">Restoring deleted resources from local history</a>
</body>
</html>