109 pulling from ../kw.hg |
116 pulling from ../kw.hg |
110 requesting all changes |
117 requesting all changes |
111 adding changesets |
118 adding changesets |
112 adding manifests |
119 adding manifests |
113 adding file changes |
120 adding file changes |
114 added 1 changesets with 2 changes to 2 files |
121 added 2 changesets with 3 changes to 3 files |
115 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
122 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
116 % touch |
123 % touch |
117 % status |
124 % status |
118 % update |
125 % update |
119 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
126 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
120 % cat |
127 % cat |
121 expand $Id: a,v 7f0665a496fd 1970/01/01 00:00:00 user $ |
128 expand $Id: a,v 475643d17242 1970/01/01 00:00:00 user $ |
122 do not process $Id: |
129 do not process $Id: |
123 xxx $ |
130 xxx $ |
124 ignore $Id$ |
131 ignore $Id$ |
125 % check whether expansion is filewise |
132 % check whether expansion is filewise |
126 % commit c |
133 % commit c |
127 adding c |
134 adding c |
128 % force expansion |
135 % force expansion |
129 overwriting a expanding keywords |
136 overwriting a expanding keywords |
130 overwriting c expanding keywords |
137 overwriting c expanding keywords |
131 % compare changenodes in a c |
138 % compare changenodes in a c |
132 expand $Id: a,v 7f0665a496fd 1970/01/01 00:00:00 user $ |
139 expand $Id: a,v 475643d17242 1970/01/01 00:00:00 user $ |
133 do not process $Id: |
140 do not process $Id: |
134 xxx $ |
141 xxx $ |
135 $Id: c,v 7fefeeacf359 1970/01/01 00:00:01 user $ |
142 $Id: c,v c08ff8b9d54e 1970/01/01 00:00:01 user $ |
136 tests for different changenodes |
143 tests for different changenodes |
137 % qinit -c |
144 % qinit -c |
138 % qimport |
145 % qimport |
139 % qcommit |
146 % qcommit |
140 % keywords should not be expanded in patch |
147 % keywords should not be expanded in patch |
141 # HG changeset patch |
148 # HG changeset patch |
142 # User User Name <user@example.com> |
149 # User User Name <user@example.com> |
143 # Date 1 0 |
150 # Date 1 0 |
144 # Node ID 7fefeeacf3596ca401a248c183c2314cbf4661ee |
151 # Node ID c08ff8b9d54ebf87b428631bd34b3d8b69cbf72f |
145 # Parent 7f0665a496fd37c3627191bd02e26a1e230f2aa2 |
152 # Parent 475643d17242703d20c30af0fc52b30fd231c6f6 |
146 cndiff |
153 cndiff |
147 |
154 |
148 diff -r 7f0665a496fd -r 7fefeeacf359 c |
155 diff -r 475643d17242 -r c08ff8b9d54e c |
149 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
156 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
150 +++ b/c Thu Jan 01 00:00:01 1970 +0000 |
157 +++ b/c Thu Jan 01 00:00:01 1970 +0000 |
151 @@ -0,0 +1,2 @@ |
158 @@ -0,0 +1,2 @@ |
152 +$Id$ |
159 +$Id$ |
153 +tests for different changenodes |
160 +tests for different changenodes |
168 % commit |
175 % commit |
169 c |
176 c |
170 c: copy a:0045e12f6c5791aac80ca6cbfd97709a88307292 |
177 c: copy a:0045e12f6c5791aac80ca6cbfd97709a88307292 |
171 overwriting c expanding keywords |
178 overwriting c expanding keywords |
172 % cat a c |
179 % cat a c |
173 expand $Id: a,v 7f0665a496fd 1970/01/01 00:00:00 user $ |
180 expand $Id: a,v 475643d17242 1970/01/01 00:00:00 user $ |
174 do not process $Id: |
181 do not process $Id: |
175 xxx $ |
182 xxx $ |
176 expand $Id: c,v 6a127771f5db 1970/01/01 00:00:01 user $ |
183 expand $Id: c,v 1acf8f3ab611 1970/01/01 00:00:01 user $ |
177 do not process $Id: |
184 do not process $Id: |
178 xxx $ |
185 xxx $ |
179 % touch copied c after 1 second |
186 % touch copied c after 1 second |
180 % status |
187 % status |
181 % kwfiles |
188 % kwfiles |
182 a |
189 a |
183 c |
190 c |
184 % diff --rev |
191 % diff --rev |
185 diff -r 7f0665a496fd c |
192 diff -r 475643d17242 c |
186 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
193 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
187 @@ -0,0 +1,3 @@ |
194 @@ -0,0 +1,3 @@ |
188 +expand $Id$ |
195 +expand $Id$ |
189 +do not process $Id: |
196 +do not process $Id: |
190 +xxx $ |
197 +xxx $ |
204 demo.txt = |
211 demo.txt = |
205 [keywordmaps] |
212 [keywordmaps] |
206 Xinfo = {author}: {desc} |
213 Xinfo = {author}: {desc} |
207 $Xinfo: test: hg keyword config and expansion example $ |
214 $Xinfo: test: hg keyword config and expansion example $ |
208 % cat |
215 % cat |
209 expand $Id: a,v 7f0665a496fd 1970/01/01 00:00:00 user $ |
216 expand $Id: a,v 475643d17242 1970/01/01 00:00:00 user $ |
210 do not process $Id: |
217 do not process $Id: |
211 xxx $ |
218 xxx $ |
212 ignore $Id$ |
219 ignore $Id$ |
213 % hg cat |
220 % hg cat |
214 expand $Id: a 7f0665a496fd Thu, 01 Jan 1970 00:00:00 +0000 user $ |
221 expand $Id: a 475643d17242 Thu, 01 Jan 1970 00:00:00 +0000 user $ |
215 do not process $Id: |
222 do not process $Id: |
216 xxx $ |
223 xxx $ |
217 ignore $Id$ |
224 ignore $Id$ |
218 % commit |
225 % commit |
219 a |
226 a |
220 overwriting a expanding keywords |
227 overwriting a expanding keywords |
221 % status |
228 % status |
222 % cat |
229 % cat |
223 expand $Id: a 576a35651b0a Thu, 01 Jan 1970 00:00:02 +0000 user $ |
230 expand $Id: a 9ea11ce3ca13 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
224 do not process $Id: |
231 do not process $Id: |
225 xxx $ |
232 xxx $ |
226 $Xinfo: User Name <user@example.com>: firstline $ |
233 $Xinfo: User Name <user@example.com>: firstline $ |
227 ignore $Id$ |
234 ignore $Id$ |
228 % hg cat |
235 % hg cat |
229 expand $Id: a 576a35651b0a Thu, 01 Jan 1970 00:00:02 +0000 user $ |
236 expand $Id: a 9ea11ce3ca13 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
230 do not process $Id: |
237 do not process $Id: |
231 xxx $ |
238 xxx $ |
232 $Xinfo: User Name <user@example.com>: firstline $ |
239 $Xinfo: User Name <user@example.com>: firstline $ |
233 ignore $Id$ |
240 ignore $Id$ |
234 % remove |
241 % remove |
237 rolling back last transaction |
244 rolling back last transaction |
238 % status |
245 % status |
239 R a |
246 R a |
240 % revert a |
247 % revert a |
241 % cat a |
248 % cat a |
242 expand $Id: a 576a35651b0a Thu, 01 Jan 1970 00:00:02 +0000 user $ |
249 expand $Id: a 9ea11ce3ca13 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
243 do not process $Id: |
250 do not process $Id: |
244 xxx $ |
251 xxx $ |
245 $Xinfo: User Name <user@example.com>: firstline $ |
252 $Xinfo: User Name <user@example.com>: firstline $ |
246 % clone to test incoming |
253 % clone to test incoming |
247 requesting all changes |
254 requesting all changes |
248 adding changesets |
255 adding changesets |
249 adding manifests |
256 adding manifests |
250 adding file changes |
257 adding file changes |
251 added 1 changesets with 2 changes to 2 files |
258 added 2 changesets with 3 changes to 3 files |
252 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
259 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
253 % incoming |
260 % incoming |
254 searching for changes |
261 searching for changes |
255 changeset: 1:576a35651b0a |
262 changeset: 2:9ea11ce3ca13 |
256 tag: tip |
263 tag: tip |
257 user: User Name <user@example.com> |
264 user: User Name <user@example.com> |
258 date: Thu Jan 01 00:00:02 1970 +0000 |
265 date: Thu Jan 01 00:00:02 1970 +0000 |
259 summary: firstline |
266 summary: firstline |
260 |
267 |
266 abort: outstanding uncommitted changes in given files |
273 abort: outstanding uncommitted changes in given files |
267 x/a |
274 x/a |
268 x/a: copy a:779c764182ce5d43e2b1eb66ce06d7b47bfe342e |
275 x/a: copy a:779c764182ce5d43e2b1eb66ce06d7b47bfe342e |
269 overwriting x/a expanding keywords |
276 overwriting x/a expanding keywords |
270 % cat a |
277 % cat a |
271 expand $Id: x/a 2d19a72f00da Thu, 01 Jan 1970 00:00:03 +0000 user $ |
278 expand $Id: x/a 93c8b61c99cd Thu, 01 Jan 1970 00:00:03 +0000 user $ |
272 do not process $Id: |
279 do not process $Id: |
273 xxx $ |
280 xxx $ |
274 $Xinfo: User Name <user@example.com>: xa $ |
281 $Xinfo: User Name <user@example.com>: xa $ |
275 % kwshrink a inside directory x |
282 % kwshrink a inside directory x |
276 overwriting x/a shrinking keywords |
283 overwriting x/a shrinking keywords |