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