blob: 059cbcfc1c0946c7096bd34efd85e817e4b78bb0 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>
Using the local history
</title>
</head>
<body>
<h1>
Using the local history
</h1>
<p>
In this section, you will use the local history feature to switch to a previously saved version of a Tcl file.
</p>
<ol>
<li>Create a new empty file in a project.</li>
<li>Insert a peace of code to that file using the Tcl editor and commit several changes.</li>
<li>
<p>Then right click in the editor and select <b>Replace with > Local history</b> menu item.
<!-- <p><img border="0" src="./images/tlc-local-history.png" alr="Local history"></p> -->
<b>Compare</b> dialog will be opened.
</p>
</li>
<li> Select a version (by date and time) of the file you'd like to replace the current content and click <b>Replace</b></li>
</ol>
<p>The file has just been restored to the state you selected.</p>
<P class="nav_footer" id="nav_footer">Next Section: <A href="qs-10.htm">Moving and copying Tcl elements</A>
</P>
<p>
<img border="0" src="../images/ngrelc.png" alt="Related concepts" >
</p>
<p>
<a href="../concepts/concepts-7.htm">Tcl editor</a><br>
</p>
<p>
</body>
</html>