comparison help/topics/22.txt @ 525:721a8e30822b

Merge
author Chris Cannam
date Thu, 17 Nov 2011 17:12:39 +0000
parents a9032181c37d
children
comparison
equal deleted inserted replaced
524:eea753f1cae8 525:721a8e30822b
1 {Making changes}
2
3 I want to remove, rename, or copy a file
4
5 To remove or rename a file, you first need to find it in the list of
6 files under "My work". This area normally shows only those files that
7 you have changed since your last commit: if it isn't one of those,
8 toggle the "Show all files" option at the bottom of the window.
9
10 To *remove* a file from version control so that changes to it are no longer tracked:
11
12 *1. Select the file you want to remove in the list of files under "My work".*
13
14 *2. Click Remove in the toolbar on the left of the window*
15
16 The file will be moved to the *"Removed"* list. This tells Mercurial
17 to stop tracking the file the next time you commit. The file itself
18 is not removed from the disc: you will need to do that using your
19 system file manager afterwards.
20
21 * Note: the equivalent Mercurial command for this is *hg remove -Af*
22
23 To *rename* or *copy* a file:
24
25 *1. Select the file you want to remove in the list of files under "My work".*
26
27 *2. Right-click and select "Rename..." or "Copy..." on the context menu*
28
29 *3. Enter a new name for the file.*
30
31 * Note: the equivalent Mercurial commands are *hg rename* and *hg copy*
32
33
34