Show More
@@ -535,6 +535,9 b' cmdtable = {' | |||||
535 | "record": |
|
535 | "record": | |
536 | (record, commands.table['^commit|ci'][1], # same options as commit |
|
536 | (record, commands.table['^commit|ci'][1], # same options as commit | |
537 | _('hg record [OPTION]... [FILE]...')), |
|
537 | _('hg record [OPTION]... [FILE]...')), | |
|
538 | "qrecord": | |||
|
539 | (qrecord, {}, # placeholder until mq is available | |||
|
540 | _('hg qrecord [OPTION]... PATCH [FILE]...')), | |||
538 | } |
|
541 | } | |
539 |
|
542 | |||
540 |
|
543 |
@@ -10,6 +10,15 b' help record (no record)' | |||||
10 |
|
10 | |||
11 | use "hg help extensions" for information on enabling extensions |
|
11 | use "hg help extensions" for information on enabling extensions | |
12 |
|
12 | |||
|
13 | help qrecord (no record) | |||
|
14 | ||||
|
15 | $ hg help qrecord | |||
|
16 | 'qrecord' is provided by the following extension: | |||
|
17 | ||||
|
18 | record commands to interactively select changes for commit/qrefresh | |||
|
19 | ||||
|
20 | use "hg help extensions" for information on enabling extensions | |||
|
21 | ||||
13 | $ echo "[extensions]" >> $HGRCPATH |
|
22 | $ echo "[extensions]" >> $HGRCPATH | |
14 | $ echo "record=" >> $HGRCPATH |
|
23 | $ echo "record=" >> $HGRCPATH | |
15 |
|
24 | |||
@@ -63,30 +72,33 b' help record (record)' | |||||
63 | help (no mq, so no qrecord) |
|
72 | help (no mq, so no qrecord) | |
64 |
|
73 | |||
65 | $ hg help qrecord |
|
74 | $ hg help qrecord | |
66 | hg: unknown command 'qrecord' |
|
75 | hg qrecord [OPTION]... PATCH [FILE]... | |
67 | Mercurial Distributed SCM |
|
|||
68 |
|
76 | |||
69 | basic commands: |
|
77 | interactively record a new patch | |
|
78 | ||||
|
79 | See "hg help qnew" & "hg help record" for more information and usage. | |||
70 |
|
80 | |||
71 | add add the specified files on the next commit |
|
81 | use "hg -v help qrecord" to show global options | |
72 | annotate show changeset information by line for each file |
|
82 | ||
73 | clone make a copy of an existing repository |
|
83 | $ hg init a | |
74 | commit commit the specified files or all outstanding changes |
|
84 | ||
75 | diff diff repository (or selected files) |
|
85 | qrecord (mq not present) | |
76 | export dump the header and diffs for one or more changesets |
|
86 | ||
77 | forget forget the specified files on the next commit |
|
87 | $ hg -R a qrecord | |
78 | init create a new repository in the given directory |
|
88 | hg qrecord: invalid arguments | |
79 | log show revision history of entire repository or files |
|
89 | hg qrecord [OPTION]... PATCH [FILE]... | |
80 | merge merge working directory with another revision |
|
|||
81 | pull pull changes from the specified source |
|
|||
82 | push push changes to the specified destination |
|
|||
83 | remove remove the specified files on the next commit |
|
|||
84 | serve start stand-alone webserver |
|
|||
85 | status show changed files in the working directory |
|
|||
86 | summary summarize working directory state |
|
|||
87 | update update working directory (or switch revisions) |
|
|||
88 |
|
90 | |||
89 | use "hg help" for the full list of commands or "hg -v" for details |
|
91 | interactively record a new patch | |
|
92 | ||||
|
93 | See "hg help qnew" & "hg help record" for more information and usage. | |||
|
94 | ||||
|
95 | use "hg -v help qrecord" to show global options | |||
|
96 | [255] | |||
|
97 | ||||
|
98 | qrecord patch (mq not present) | |||
|
99 | ||||
|
100 | $ hg -R a qrecord patch | |||
|
101 | abort: 'mq' extension not loaded | |||
90 | [255] |
|
102 | [255] | |
91 |
|
103 | |||
92 | help (mq present) |
|
104 | help (mq present) | |
@@ -116,7 +128,6 b' help (mq present)' | |||||
116 |
|
128 | |||
117 | use "hg -v help qrecord" to show global options |
|
129 | use "hg -v help qrecord" to show global options | |
118 |
|
130 | |||
119 | $ hg init a |
|
|||
120 | $ cd a |
|
131 | $ cd a | |
121 |
|
132 | |||
122 | Base commit |
|
133 | Base commit |
General Comments 0
You need to be logged in to leave comments.
Login now