comparison tests/test-record.t @ 12334:b63f6422d2a7

tests: fix a bunch of pointless #s in unified tests
author Matt Mackall <mpm@selenic.com>
date Fri, 17 Sep 2010 17:03:08 -0500
parents 4134686b83e1
children 8aeb6184b008
comparison
equal deleted inserted replaced
12333:92e30e135581 12334:b63f6422d2a7
1 #!/bin/sh 1 Set up a repo
2 2
3 $ echo "[ui]" >> $HGRCPATH 3 $ echo "[ui]" >> $HGRCPATH
4 $ echo "interactive=true" >> $HGRCPATH 4 $ echo "interactive=true" >> $HGRCPATH
5 $ echo "[extensions]" >> $HGRCPATH 5 $ echo "[extensions]" >> $HGRCPATH
6 $ echo "record=" >> $HGRCPATH 6 $ echo "record=" >> $HGRCPATH
7
8 Help
9
10 $ hg help record
11 hg record [OPTION]... [FILE]...
12
13 interactively select changes to commit
14
15 If a list of files is omitted, all changes reported by "hg status" will be
16 candidates for recording.
17
18 See "hg help dates" for a list of formats valid for -d/--date.
19
20 You will be prompted for whether to record changes to each modified file,
21 and for files with multiple changes, for each change to use. For each
22 query, the following responses are possible:
23
24 y - record this change
25 n - skip this change
26
27 s - skip remaining changes to this file
28 f - record remaining changes to this file
29
30 d - done, skip remaining changes and files
31 a - record all changes to all remaining files
32 q - quit, recording no changes
33
34 ? - display help
35
36 This command is not available when committing a merge.
37
38 options:
39
40 -A --addremove mark new/missing files as added/removed before
41 committing
42 --close-branch mark a branch as closed, hiding it from the branch
43 list
44 -I --include PATTERN [+] include names matching the given patterns
45 -X --exclude PATTERN [+] exclude names matching the given patterns
46 -m --message TEXT use text as commit message
47 -l --logfile FILE read commit message from file
48 -d --date DATE record datecode as commit date
49 -u --user USER record the specified user as committer
50
51 [+] marked option can be specified multiple times
52
53 use "hg -v help record" to show global options
54 7
55 $ hg init a 8 $ hg init a
56 $ cd a 9 $ cd a
57 10
58 Select no files 11 Select no files