comparison help/a-22.html @ 497:a9032181c37d

More help
author Chris Cannam
date Mon, 22 Aug 2011 15:19:00 +0100
parents fb95d70c80d5
children 21aa41b62c3a
comparison
equal deleted inserted replaced
496:fb95d70c80d5 497:a9032181c37d
1 <link rel="stylesheet" type="text/css" href="help.css"/> 1 <link rel="stylesheet" type="text/css" href="help.css"/>
2 <p><a href="topics.html">Back to Topics</a></p><hr> 2 <p><a href="topics.html">Back to Topics</a></p><hr>
3 3
4 4
5 <h2>I want to rename or remove a file</h2> 5 <h2>I want to remove, rename, or copy a file</h2>
6 6
7 <p>To remove or rename a file, you first need to find it in the list of
8 files under &ldquo;My work&rdquo;. This area normally shows only those files that
9 you have changed since your last commit: if it isn't one of those,
10 toggle the &ldquo;Show all files&rdquo; option at the bottom of the window.</p>
7 11
12 <p>To <b>remove</b> a file from version control so that changes to it are no longer tracked:</p>
13
14 <p><b>1. Select the file you want to remove in the list of files under &ldquo;My work&rdquo;.</b></p>
15
16 <p><b>2. Click Remove in the toolbar on the left of the window</b></p>
17
18 <p>The file will be moved to the <b>&ldquo;Removed&rdquo;</b> list. This tells Mercurial
19 to stop tracking the file the next time you commit. The file itself
20 is not removed from the disc: you will need to do that using your
21 system file manager afterwards.
22 <ul><li>Note: the equivalent Mercurial command for this is <b>hg remove -Af</b></li></ul></p>
23
24 <p>To <b>rename</b> or <b>copy</b> a file:</p>
25
26 <p><b>1. Select the file you want to remove in the list of files under &ldquo;My work&rdquo;.</b></p>
27
28 <p><b>2. Right-click and select &ldquo;Rename..." or &ldquo;Copy..." on the context menu</b></p>
29
30 <p><b>3. Enter a new name for the file.</b>
31 <ul><li>Note: the equivalent Mercurial commands are <b>hg rename</b> and <b>hg copy</b></li></ul></p>
8 32
9 33
10 34
11 <hr><p><a href="topics.html">Back to Topics</a></p> 35 <hr><p><a href="topics.html">Back to Topics</a></p>