Mercurial > hg
annotate tests/test-qrecord.out @ 10955:470a6ace7574
Added support for 'pretxncommit', so that one can call the ACL hook at
pre-commit time too. This is useful because now it's possible to avoid
violating ACL permissions much sooner, at commit time, instead of
waiting for a PUSH to check if there were any invalid commits.
author | Elifarley Callado Coelho Cruz <elifarley@gmail.com> |
---|---|
date | Tue, 06 Apr 2010 22:15:43 -0300 |
parents | e25c450c351e |
children | 49a07f441496 |
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 | |
17 pull pull changes from the specified source | |
18 push push changes to the specified destination | |
19 remove remove the specified files on the next commit | |
10889
e25c450c351e
commands: improve some command summaries
Matt Mackall <mpm@selenic.com>
parents:
10694
diff
changeset
|
20 serve start stand-alone webserver |
5933 | 21 status show changed files in the working directory |
9603 | 22 summary summarize working directory state |
10889
e25c450c351e
commands: improve some command summaries
Matt Mackall <mpm@selenic.com>
parents:
10694
diff
changeset
|
23 update update working directory (or switch revisions) |
5933 | 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 | |
9074
b4f259c1667a
record: wrapped docstrings at 78 characters
Martin Geisler <mg@lazybytes.net>
parents:
8902
diff
changeset
|
31 See 'hg help qnew' & 'hg help record' for more information and usage. |
5933 | 32 |
33 options: | |
34 | |
35 -e --edit edit commit message | |
36 -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
|
37 -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
|
38 -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
|
39 -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
|
40 -d --date add "Date: <given date>" to patch |
5933 | 41 -I --include include names matching the given patterns |
42 -X --exclude exclude names matching the given patterns | |
43 -m --message use <text> as commit message | |
44 -l --logfile read commit message from <file> | |
45 | |
46 use "hg -v help qrecord" to show global options | |
47 % base commit | |
48 % changing files | |
49 % whole diff | |
50 diff -r 1057167b20ef 1.txt | |
51 --- a/1.txt | |
52 +++ b/1.txt | |
53 @@ -1,5 +1,5 @@ | |
54 1 | |
55 -2 | |
56 +2 2 | |
57 3 | |
58 -4 | |
59 +4 4 | |
60 5 | |
61 diff -r 1057167b20ef 2.txt | |
62 --- a/2.txt | |
63 +++ b/2.txt | |
64 @@ -1,5 +1,5 @@ | |
65 a | |
66 -b | |
67 +b b | |
68 c | |
69 d | |
70 e | |
71 diff -r 1057167b20ef dir/a.txt | |
72 --- a/dir/a.txt | |
73 +++ b/dir/a.txt | |
74 @@ -1,4 +1,4 @@ | |
75 -hello world | |
76 +hello world! | |
77 | |
78 someone | |
79 up | |
80 % qrecord a.patch | |
81 diff --git a/1.txt b/1.txt | |
82 2 hunks, 4 lines changed | |
10694
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
83 examine changes to '1.txt'? [Ynsfdaq?] |
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
84 @@ -1,3 +1,3 @@ |
5933 | 85 1 |
86 -2 | |
87 +2 2 | |
88 3 | |
10694
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
89 record change 1/6 to '1.txt'? [Ynsfdaq?] |
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
90 @@ -3,3 +3,3 @@ |
5933 | 91 3 |
92 -4 | |
93 +4 4 | |
94 5 | |
10694
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
95 record change 2/6 to '1.txt'? [Ynsfdaq?] |
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
96 diff --git a/2.txt b/2.txt |
5933 | 97 1 hunks, 2 lines changed |
10694
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
98 examine changes to '2.txt'? [Ynsfdaq?] |
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
99 @@ -1,5 +1,5 @@ |
5933 | 100 a |
101 -b | |
102 +b b | |
103 c | |
104 d | |
105 e | |
10694
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
106 record change 4/6 to '2.txt'? [Ynsfdaq?] |
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
107 diff --git a/dir/a.txt b/dir/a.txt |
5933 | 108 1 hunks, 2 lines changed |
9461 | 109 examine changes to 'dir/a.txt'? [Ynsfdaq?] |
10694
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
110 |
5933 | 111 % after qrecord a.patch 'tip' |
112 changeset: 1:5d1ca63427ee | |
113 tag: qtip | |
114 tag: tip | |
115 tag: a.patch | |
116 tag: qbase | |
117 user: test | |
118 date: Thu Jan 01 00:00:00 1970 +0000 | |
119 summary: aaa | |
120 | |
121 diff -r 1057167b20ef -r 5d1ca63427ee 1.txt | |
122 --- a/1.txt Thu Jan 01 00:00:00 1970 +0000 | |
123 +++ b/1.txt Thu Jan 01 00:00:00 1970 +0000 | |
124 @@ -1,5 +1,5 @@ | |
125 1 | |
126 -2 | |
127 +2 2 | |
128 3 | |
129 4 | |
130 5 | |
131 diff -r 1057167b20ef -r 5d1ca63427ee 2.txt | |
132 --- a/2.txt Thu Jan 01 00:00:00 1970 +0000 | |
133 +++ b/2.txt Thu Jan 01 00:00:00 1970 +0000 | |
134 @@ -1,5 +1,5 @@ | |
135 a | |
136 -b | |
137 +b b | |
138 c | |
139 d | |
140 e | |
141 | |
142 | |
143 % after qrecord a.patch 'diff' | |
144 diff -r 5d1ca63427ee 1.txt | |
145 --- a/1.txt | |
146 +++ b/1.txt | |
147 @@ -1,5 +1,5 @@ | |
148 1 | |
149 2 2 | |
150 3 | |
151 -4 | |
152 +4 4 | |
153 5 | |
154 diff -r 5d1ca63427ee dir/a.txt | |
155 --- a/dir/a.txt | |
156 +++ b/dir/a.txt | |
157 @@ -1,4 +1,4 @@ | |
158 -hello world | |
159 +hello world! | |
160 | |
161 someone | |
162 up | |
163 % qrecord b.patch | |
164 diff --git a/1.txt b/1.txt | |
165 1 hunks, 2 lines changed | |
10694
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
166 examine changes to '1.txt'? [Ynsfdaq?] |
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
167 @@ -1,5 +1,5 @@ |
5933 | 168 1 |
169 2 2 | |
170 3 | |
171 -4 | |
172 +4 4 | |
173 5 | |
10694
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
174 record change 1/3 to '1.txt'? [Ynsfdaq?] |
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
175 diff --git a/dir/a.txt b/dir/a.txt |
5933 | 176 1 hunks, 2 lines changed |
10694
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
177 examine changes to 'dir/a.txt'? [Ynsfdaq?] |
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
178 @@ -1,4 +1,4 @@ |
5933 | 179 -hello world |
180 +hello world! | |
181 | |
182 someone | |
183 up | |
9461 | 184 record change 3/3 to 'dir/a.txt'? [Ynsfdaq?] |
10694
d7732d2df54a
record: separate each hunk with a blank line
Martin Geisler <mg@lazybytes.net>
parents:
9606
diff
changeset
|
185 |
5933 | 186 % after qrecord b.patch 'tip' |
187 changeset: 2:b056198bf878 | |
188 tag: qtip | |
189 tag: tip | |
190 tag: b.patch | |
191 user: test | |
192 date: Thu Jan 01 00:00:00 1970 +0000 | |
193 summary: bbb | |
194 | |
195 diff -r 5d1ca63427ee -r b056198bf878 1.txt | |
196 --- a/1.txt Thu Jan 01 00:00:00 1970 +0000 | |
197 +++ b/1.txt Thu Jan 01 00:00:00 1970 +0000 | |
198 @@ -1,5 +1,5 @@ | |
199 1 | |
200 2 2 | |
201 3 | |
202 -4 | |
203 +4 4 | |
204 5 | |
205 diff -r 5d1ca63427ee -r b056198bf878 dir/a.txt | |
206 --- a/dir/a.txt Thu Jan 01 00:00:00 1970 +0000 | |
207 +++ b/dir/a.txt Thu Jan 01 00:00:00 1970 +0000 | |
208 @@ -1,4 +1,4 @@ | |
209 -hello world | |
210 +hello world! | |
211 | |
212 someone | |
213 up | |
214 | |
215 | |
216 % after qrecord b.patch 'diff' | |
217 | |
218 % --- end --- |