Mercurial > hg
annotate tests/test-qrecord.out @ 9575:5e44d9e562bc
merge with hg-stable
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Sat, 10 Oct 2009 12:19:58 +0200 |
parents | b9a8b616521d |
children | b4f259c1667a |
rev | line source |
---|---|
5933 | 1 % help (no mq, so no qrecord) |
2 hg: unknown command 'qrecord' | |
3 Mercurial Distributed SCM | |
4 | |
5 basic commands: | |
6 | |
7 add add the specified files on the next commit | |
8779
708938509732
Improve English for help text of many core hg commands.
timeless <timeless@gmail.com>
parents:
8348
diff
changeset
|
8 annotate show changeset information by line for each file |
5933 | 9 clone make a copy of an existing repository |
10 commit commit the specified files or all outstanding changes | |
11 diff diff repository (or selected files) | |
12 export dump the header and diffs for one or more changesets | |
8902
b9a8b616521d
Add a forget command for easily untracking files.
Steve Losh <steve@stevelosh.com>
parents:
8779
diff
changeset
|
13 forget forget the specified files on the next commit |
5933 | 14 init create a new repository in the given directory |
15 log show revision history of entire repository or files | |
16 merge merge working directory with another revision | |
8026
683d8ebcf434
expand "dir" to "directory" in help texts
Martin Geisler <mg@lazybytes.net>
parents:
7910
diff
changeset
|
17 parents show the parents of the working directory or revision |
5933 | 18 pull pull changes from the specified source |
19 push push changes to the specified destination | |
20 remove remove the specified files on the next commit | |
21 serve export the repository via HTTP | |
22 status show changed files in the working directory | |
23 update update working directory | |
24 | |
25 use "hg help" for the full list of commands or "hg -v" for details | |
26 % help (mq present) | |
27 hg qrecord [OPTION]... PATCH [FILE]... | |
28 | |
29 interactively record a new patch | |
30 | |
8348
c9ab8f448a9e
record: better formatting for qrecord help
Martin Geisler <mg@lazybytes.net>
parents:
8026
diff
changeset
|
31 See 'hg help qnew' & 'hg help record' for more information and |
c9ab8f448a9e
record: better formatting for qrecord help
Martin Geisler <mg@lazybytes.net>
parents:
8026
diff
changeset
|
32 usage. |
5933 | 33 |
34 options: | |
35 | |
36 -e --edit edit commit message | |
37 -g --git use git extended diff format | |
6918
c8555b127408
Adjust test output for hg help qrecord since ef14c773b3d6
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5933
diff
changeset
|
38 -U --currentuser add "From: <current user>" to patch |
c8555b127408
Adjust test output for hg help qrecord since ef14c773b3d6
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5933
diff
changeset
|
39 -u --user add "From: <given user>" to patch |
c8555b127408
Adjust test output for hg help qrecord since ef14c773b3d6
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5933
diff
changeset
|
40 -D --currentdate add "Date: <current date>" to patch |
c8555b127408
Adjust test output for hg help qrecord since ef14c773b3d6
Thomas Arendsen Hein <thomas@intevation.de>
parents:
5933
diff
changeset
|
41 -d --date add "Date: <given date>" to patch |
5933 | 42 -I --include include names matching the given patterns |
43 -X --exclude exclude names matching the given patterns | |
44 -m --message use <text> as commit message | |
45 -l --logfile read commit message from <file> | |
46 | |
47 use "hg -v help qrecord" to show global options | |
48 % base commit | |
49 % changing files | |
50 % whole diff | |
51 diff -r 1057167b20ef 1.txt | |
52 --- a/1.txt | |
53 +++ b/1.txt | |
54 @@ -1,5 +1,5 @@ | |
55 1 | |
56 -2 | |
57 +2 2 | |
58 3 | |
59 -4 | |
60 +4 4 | |
61 5 | |
62 diff -r 1057167b20ef 2.txt | |
63 --- a/2.txt | |
64 +++ b/2.txt | |
65 @@ -1,5 +1,5 @@ | |
66 a | |
67 -b | |
68 +b b | |
69 c | |
70 d | |
71 e | |
72 diff -r 1057167b20ef dir/a.txt | |
73 --- a/dir/a.txt | |
74 +++ b/dir/a.txt | |
75 @@ -1,4 +1,4 @@ | |
76 -hello world | |
77 +hello world! | |
78 | |
79 someone | |
80 up | |
81 % qrecord a.patch | |
82 diff --git a/1.txt b/1.txt | |
83 2 hunks, 4 lines changed | |
84 examine changes to '1.txt'? [Ynsfdaq?] @@ -1,3 +1,3 @@ | |
85 1 | |
86 -2 | |
87 +2 2 | |
88 3 | |
7910
14ec64d41dad
record: Give user a hint about chunk selection progress
Rocco Rutte <pdmef@gmx.net>
parents:
7197
diff
changeset
|
89 record change 1/6 to '1.txt'? [Ynsfdaq?] @@ -3,3 +3,3 @@ |
5933 | 90 3 |
91 -4 | |
92 +4 4 | |
93 5 | |
7910
14ec64d41dad
record: Give user a hint about chunk selection progress
Rocco Rutte <pdmef@gmx.net>
parents:
7197
diff
changeset
|
94 record change 2/6 to '1.txt'? [Ynsfdaq?] diff --git a/2.txt b/2.txt |
5933 | 95 1 hunks, 2 lines changed |
96 examine changes to '2.txt'? [Ynsfdaq?] @@ -1,5 +1,5 @@ | |
97 a | |
98 -b | |
99 +b b | |
100 c | |
101 d | |
102 e | |
7910
14ec64d41dad
record: Give user a hint about chunk selection progress
Rocco Rutte <pdmef@gmx.net>
parents:
7197
diff
changeset
|
103 record change 4/6 to '2.txt'? [Ynsfdaq?] diff --git a/dir/a.txt b/dir/a.txt |
5933 | 104 1 hunks, 2 lines changed |
105 examine changes to 'dir/a.txt'? [Ynsfdaq?] | |
106 % after qrecord a.patch 'tip' | |
107 changeset: 1:5d1ca63427ee | |
108 tag: qtip | |
109 tag: tip | |
110 tag: a.patch | |
111 tag: qbase | |
112 user: test | |
113 date: Thu Jan 01 00:00:00 1970 +0000 | |
114 summary: aaa | |
115 | |
116 diff -r 1057167b20ef -r 5d1ca63427ee 1.txt | |
117 --- a/1.txt Thu Jan 01 00:00:00 1970 +0000 | |
118 +++ b/1.txt Thu Jan 01 00:00:00 1970 +0000 | |
119 @@ -1,5 +1,5 @@ | |
120 1 | |
121 -2 | |
122 +2 2 | |
123 3 | |
124 4 | |
125 5 | |
126 diff -r 1057167b20ef -r 5d1ca63427ee 2.txt | |
127 --- a/2.txt Thu Jan 01 00:00:00 1970 +0000 | |
128 +++ b/2.txt Thu Jan 01 00:00:00 1970 +0000 | |
129 @@ -1,5 +1,5 @@ | |
130 a | |
131 -b | |
132 +b b | |
133 c | |
134 d | |
135 e | |
136 | |
137 | |
138 % after qrecord a.patch 'diff' | |
139 diff -r 5d1ca63427ee 1.txt | |
140 --- a/1.txt | |
141 +++ b/1.txt | |
142 @@ -1,5 +1,5 @@ | |
143 1 | |
144 2 2 | |
145 3 | |
146 -4 | |
147 +4 4 | |
148 5 | |
149 diff -r 5d1ca63427ee dir/a.txt | |
150 --- a/dir/a.txt | |
151 +++ b/dir/a.txt | |
152 @@ -1,4 +1,4 @@ | |
153 -hello world | |
154 +hello world! | |
155 | |
156 someone | |
157 up | |
158 % qrecord b.patch | |
159 diff --git a/1.txt b/1.txt | |
160 1 hunks, 2 lines changed | |
161 examine changes to '1.txt'? [Ynsfdaq?] @@ -1,5 +1,5 @@ | |
162 1 | |
163 2 2 | |
164 3 | |
165 -4 | |
166 +4 4 | |
167 5 | |
7910
14ec64d41dad
record: Give user a hint about chunk selection progress
Rocco Rutte <pdmef@gmx.net>
parents:
7197
diff
changeset
|
168 record change 1/3 to '1.txt'? [Ynsfdaq?] diff --git a/dir/a.txt b/dir/a.txt |
5933 | 169 1 hunks, 2 lines changed |
170 examine changes to 'dir/a.txt'? [Ynsfdaq?] @@ -1,4 +1,4 @@ | |
171 -hello world | |
172 +hello world! | |
173 | |
174 someone | |
175 up | |
7910
14ec64d41dad
record: Give user a hint about chunk selection progress
Rocco Rutte <pdmef@gmx.net>
parents:
7197
diff
changeset
|
176 record change 3/3 to 'dir/a.txt'? [Ynsfdaq?] |
5933 | 177 % after qrecord b.patch 'tip' |
178 changeset: 2:b056198bf878 | |
179 tag: qtip | |
180 tag: tip | |
181 tag: b.patch | |
182 user: test | |
183 date: Thu Jan 01 00:00:00 1970 +0000 | |
184 summary: bbb | |
185 | |
186 diff -r 5d1ca63427ee -r b056198bf878 1.txt | |
187 --- a/1.txt Thu Jan 01 00:00:00 1970 +0000 | |
188 +++ b/1.txt Thu Jan 01 00:00:00 1970 +0000 | |
189 @@ -1,5 +1,5 @@ | |
190 1 | |
191 2 2 | |
192 3 | |
193 -4 | |
194 +4 4 | |
195 5 | |
196 diff -r 5d1ca63427ee -r b056198bf878 dir/a.txt | |
197 --- a/dir/a.txt Thu Jan 01 00:00:00 1970 +0000 | |
198 +++ b/dir/a.txt Thu Jan 01 00:00:00 1970 +0000 | |
199 @@ -1,4 +1,4 @@ | |
200 -hello world | |
201 +hello world! | |
202 | |
203 someone | |
204 up | |
205 | |
206 | |
207 % after qrecord b.patch 'diff' | |
208 | |
209 % --- end --- |