1 Create configuration |
1 Create configuration |
2 |
2 |
3 $ echo "[ui]" >> $HGRCPATH |
3 $ echo "[ui]" >> $HGRCPATH |
4 $ echo "interactive=true" >> $HGRCPATH |
4 $ echo "interactive=true" >> $HGRCPATH |
|
5 |
|
6 help record (no record) |
|
7 |
|
8 $ hg help record |
|
9 record extension - commands to interactively select changes for commit/qrefresh |
|
10 |
|
11 use "hg help extensions" for information on enabling extensions |
|
12 |
5 $ echo "[extensions]" >> $HGRCPATH |
13 $ echo "[extensions]" >> $HGRCPATH |
6 $ echo "record=" >> $HGRCPATH |
14 $ echo "record=" >> $HGRCPATH |
|
15 |
|
16 help record (record) |
|
17 |
|
18 $ hg help record |
|
19 hg record [OPTION]... [FILE]... |
|
20 |
|
21 interactively select changes to commit |
|
22 |
|
23 If a list of files is omitted, all changes reported by "hg status" will be |
|
24 candidates for recording. |
|
25 |
|
26 See "hg help dates" for a list of formats valid for -d/--date. |
|
27 |
|
28 You will be prompted for whether to record changes to each modified file, |
|
29 and for files with multiple changes, for each change to use. For each |
|
30 query, the following responses are possible: |
|
31 |
|
32 y - record this change |
|
33 n - skip this change |
|
34 |
|
35 s - skip remaining changes to this file |
|
36 f - record remaining changes to this file |
|
37 |
|
38 d - done, skip remaining changes and files |
|
39 a - record all changes to all remaining files |
|
40 q - quit, recording no changes |
|
41 |
|
42 ? - display help |
|
43 |
|
44 This command is not available when committing a merge. |
|
45 |
|
46 options: |
|
47 |
|
48 -A --addremove mark new/missing files as added/removed before |
|
49 committing |
|
50 --close-branch mark a branch as closed, hiding it from the branch |
|
51 list |
|
52 -I --include PATTERN [+] include names matching the given patterns |
|
53 -X --exclude PATTERN [+] exclude names matching the given patterns |
|
54 -m --message TEXT use text as commit message |
|
55 -l --logfile FILE read commit message from file |
|
56 -d --date DATE record datecode as commit date |
|
57 -u --user USER record the specified user as committer |
|
58 |
|
59 [+] marked option can be specified multiple times |
|
60 |
|
61 use "hg -v help record" to show global options |
7 |
62 |
8 help (no mq, so no qrecord) |
63 help (no mq, so no qrecord) |
9 |
64 |
10 $ hg help qrecord |
65 $ hg help qrecord |
11 hg: unknown command 'qrecord' |
66 hg: unknown command 'qrecord' |