##// END OF EJS Templates
Redo c655432c2c24 (issue1860)
Mads Kiilerich -
r9600:1e1809d7 merge default
parent child Browse files
Show More
@@ -278,6 +278,22 b' complete -o bashdefault -o default -F _h'
278
278
279 # Completion for commands provided by extensions
279 # Completion for commands provided by extensions
280
280
281 # bookmarks
282 _hg_bookmarks()
283 {
284 local bookmarks="$("$hg" bookmarks --quiet 2>/dev/null )"
285 local IFS=$'\n'
286 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$bookmarks' -- "$cur"))
287 }
288
289 _hg_cmd_bookmarks()
290 {
291 if [[ "$prev" = @(-d|--delete|-m|--rename) ]]; then
292 _hg_bookmarks
293 return
294 fi
295 }
296
281 # mq
297 # mq
282 _hg_ext_mq_patchlist()
298 _hg_ext_mq_patchlist()
283 {
299 {
@@ -193,8 +193,11 b' def bookmark(ui, repo, mark=None, rev=No'
193 else:
193 else:
194 prefix = (n == cur) and '*' or ' '
194 prefix = (n == cur) and '*' or ' '
195
195
196 ui.write(" %s %-25s %d:%s\n" % (
196 if ui.quiet:
197 prefix, bmark, repo.changelog.rev(n), hexfn(n)))
197 ui.write("%s\n" % bmark)
198 else:
199 ui.write(" %s %-25s %d:%s\n" % (
200 prefix, bmark, repo.changelog.rev(n), hexfn(n)))
198 return
201 return
199
202
200 def _revstostrip(changelog, node):
203 def _revstostrip(changelog, node):
@@ -291,7 +291,7 b' def filterpatch(ui, chunks):'
291 _('Record &all changes to all remaining files'),
291 _('Record &all changes to all remaining files'),
292 _('&Quit, recording no changes'),
292 _('&Quit, recording no changes'),
293 _('&?'))
293 _('&?'))
294 r = ui.promptchoice("%s %s " % (query, resps), choices)
294 r = ui.promptchoice("%s %s" % (query, resps), choices)
295 if r == 7: # ?
295 if r == 7: # ?
296 doc = gettext(record.__doc__)
296 doc = gettext(record.__doc__)
297 c = doc.find(_('y - record this change'))
297 c = doc.find(_('y - record this change'))
@@ -5,6 +5,20 b' cat <<EOF >> $HGRCPATH'
5 hgext.keyword =
5 hgext.keyword =
6 hgext.mq =
6 hgext.mq =
7 hgext.notify =
7 hgext.notify =
8 EOF
9
10 # demo before [keyword] files are set up
11 # would succeed without uisetup otherwise
12 echo % hg kwdemo
13 hg --quiet kwdemo \
14 | sed -e 's![^ ][^ ]*demo.txt,v!/TMP/demo.txt,v!' \
15 -e 's/,v [a-z0-9][a-z0-9]* /,v xxxxxxxxxxxx /' \
16 -e '/[$]Revision/ s/: [a-z0-9][a-z0-9]* /: xxxxxxxxxxxx /' \
17 -e 's! 20[0-9][0-9]/[01][0-9]/[0-3][0-9] [0-2][0-9]:[0-6][0-9]:[0-6][0-9]! 2000/00/00 00:00:00!'
18
19 hg --quiet kwdemo "Branch = {branches}"
20
21 cat <<EOF >> $HGRCPATH
8 [keyword]
22 [keyword]
9 * =
23 * =
10 b = ignore
24 b = ignore
@@ -13,15 +27,6 b' commit='
13 commit.test=cp a hooktest
27 commit.test=cp a hooktest
14 EOF
28 EOF
15
29
16 echo % hg kwdemo
17 hg --quiet kwdemo --default \
18 | sed -e 's![^ ][^ ]*demo.txt,v!/TMP/demo.txt,v!' \
19 -e 's/,v [a-z0-9][a-z0-9]* /,v xxxxxxxxxxxx /' \
20 -e '/[$]Revision/ s/: [a-z0-9][a-z0-9]* /: xxxxxxxxxxxx /' \
21 -e 's! 20[0-9][0-9]/[01][0-9]/[0-3][0-9] [0-2][0-9]:[0-6][0-9]:[0-6][0-9]! 2000/00/00 00:00:00!'
22
23 hg --quiet kwdemo "Branch = {branches}"
24
25 hg init Test-bndl
30 hg init Test-bndl
26 cd Test-bndl
31 cd Test-bndl
27
32
@@ -2,8 +2,6 b''
2 [extensions]
2 [extensions]
3 hgext.keyword =
3 hgext.keyword =
4 [keyword]
4 [keyword]
5 * =
6 b = ignore
7 demo.txt =
5 demo.txt =
8 [keywordmaps]
6 [keywordmaps]
9 RCSFile = {file|basename},v
7 RCSFile = {file|basename},v
@@ -23,8 +21,6 b' Revision = {node|short}'
23 [extensions]
21 [extensions]
24 hgext.keyword =
22 hgext.keyword =
25 [keyword]
23 [keyword]
26 * =
27 b = ignore
28 demo.txt =
24 demo.txt =
29 [keywordmaps]
25 [keywordmaps]
30 Branch = {branches}
26 Branch = {branches}
@@ -80,28 +80,28 b' diff -r 1057167b20ef dir/a.txt'
80 % qrecord a.patch
80 % qrecord a.patch
81 diff --git a/1.txt b/1.txt
81 diff --git a/1.txt b/1.txt
82 2 hunks, 4 lines changed
82 2 hunks, 4 lines changed
83 examine changes to '1.txt'? [Ynsfdaq?] @@ -1,3 +1,3 @@
83 examine changes to '1.txt'? [Ynsfdaq?] @@ -1,3 +1,3 @@
84 1
84 1
85 -2
85 -2
86 +2 2
86 +2 2
87 3
87 3
88 record change 1/6 to '1.txt'? [Ynsfdaq?] @@ -3,3 +3,3 @@
88 record change 1/6 to '1.txt'? [Ynsfdaq?] @@ -3,3 +3,3 @@
89 3
89 3
90 -4
90 -4
91 +4 4
91 +4 4
92 5
92 5
93 record change 2/6 to '1.txt'? [Ynsfdaq?] diff --git a/2.txt b/2.txt
93 record change 2/6 to '1.txt'? [Ynsfdaq?] diff --git a/2.txt b/2.txt
94 1 hunks, 2 lines changed
94 1 hunks, 2 lines changed
95 examine changes to '2.txt'? [Ynsfdaq?] @@ -1,5 +1,5 @@
95 examine changes to '2.txt'? [Ynsfdaq?] @@ -1,5 +1,5 @@
96 a
96 a
97 -b
97 -b
98 +b b
98 +b b
99 c
99 c
100 d
100 d
101 e
101 e
102 record change 4/6 to '2.txt'? [Ynsfdaq?] diff --git a/dir/a.txt b/dir/a.txt
102 record change 4/6 to '2.txt'? [Ynsfdaq?] diff --git a/dir/a.txt b/dir/a.txt
103 1 hunks, 2 lines changed
103 1 hunks, 2 lines changed
104 examine changes to 'dir/a.txt'? [Ynsfdaq?]
104 examine changes to 'dir/a.txt'? [Ynsfdaq?]
105 % after qrecord a.patch 'tip'
105 % after qrecord a.patch 'tip'
106 changeset: 1:5d1ca63427ee
106 changeset: 1:5d1ca63427ee
107 tag: qtip
107 tag: qtip
@@ -157,22 +157,22 b' diff -r 5d1ca63427ee dir/a.txt'
157 % qrecord b.patch
157 % qrecord b.patch
158 diff --git a/1.txt b/1.txt
158 diff --git a/1.txt b/1.txt
159 1 hunks, 2 lines changed
159 1 hunks, 2 lines changed
160 examine changes to '1.txt'? [Ynsfdaq?] @@ -1,5 +1,5 @@
160 examine changes to '1.txt'? [Ynsfdaq?] @@ -1,5 +1,5 @@
161 1
161 1
162 2 2
162 2 2
163 3
163 3
164 -4
164 -4
165 +4 4
165 +4 4
166 5
166 5
167 record change 1/3 to '1.txt'? [Ynsfdaq?] diff --git a/dir/a.txt b/dir/a.txt
167 record change 1/3 to '1.txt'? [Ynsfdaq?] diff --git a/dir/a.txt b/dir/a.txt
168 1 hunks, 2 lines changed
168 1 hunks, 2 lines changed
169 examine changes to 'dir/a.txt'? [Ynsfdaq?] @@ -1,4 +1,4 @@
169 examine changes to 'dir/a.txt'? [Ynsfdaq?] @@ -1,4 +1,4 @@
170 -hello world
170 -hello world
171 +hello world!
171 +hello world!
172
172
173 someone
173 someone
174 up
174 up
175 record change 3/3 to 'dir/a.txt'? [Ynsfdaq?]
175 record change 3/3 to 'dir/a.txt'? [Ynsfdaq?]
176 % after qrecord b.patch 'tip'
176 % after qrecord b.patch 'tip'
177 changeset: 2:b056198bf878
177 changeset: 2:b056198bf878
178 tag: qtip
178 tag: qtip
@@ -39,7 +39,7 b' use "hg -v help record" to show global o'
39 % select no files
39 % select no files
40 diff --git a/empty-rw b/empty-rw
40 diff --git a/empty-rw b/empty-rw
41 new file mode 100644
41 new file mode 100644
42 examine changes to 'empty-rw'? [Ynsfdaq?] no changes to record
42 examine changes to 'empty-rw'? [Ynsfdaq?] no changes to record
43
43
44 changeset: -1:000000000000
44 changeset: -1:000000000000
45 tag: tip
45 tag: tip
@@ -50,7 +50,7 b' date: Thu Jan 01 00:00:00 1970 +0'
50 % select files but no hunks
50 % select files but no hunks
51 diff --git a/empty-rw b/empty-rw
51 diff --git a/empty-rw b/empty-rw
52 new file mode 100644
52 new file mode 100644
53 examine changes to 'empty-rw'? [Ynsfdaq?] abort: empty commit message
53 examine changes to 'empty-rw'? [Ynsfdaq?] abort: empty commit message
54
54
55 changeset: -1:000000000000
55 changeset: -1:000000000000
56 tag: tip
56 tag: tip
@@ -61,7 +61,7 b' date: Thu Jan 01 00:00:00 1970 +0'
61 % record empty file
61 % record empty file
62 diff --git a/empty-rw b/empty-rw
62 diff --git a/empty-rw b/empty-rw
63 new file mode 100644
63 new file mode 100644
64 examine changes to 'empty-rw'? [Ynsfdaq?]
64 examine changes to 'empty-rw'? [Ynsfdaq?]
65 changeset: 0:c0708cf4e46e
65 changeset: 0:c0708cf4e46e
66 tag: tip
66 tag: tip
67 user: test
67 user: test
@@ -73,7 +73,7 b' summary: empty'
73 diff --git a/empty-rw b/empty-rename
73 diff --git a/empty-rw b/empty-rename
74 rename from empty-rw
74 rename from empty-rw
75 rename to empty-rename
75 rename to empty-rename
76 examine changes to 'empty-rw' and 'empty-rename'? [Ynsfdaq?]
76 examine changes to 'empty-rw' and 'empty-rename'? [Ynsfdaq?]
77 changeset: 1:df251d174da3
77 changeset: 1:df251d174da3
78 tag: tip
78 tag: tip
79 user: test
79 user: test
@@ -85,7 +85,7 b' summary: rename'
85 diff --git a/empty-rename b/empty-copy
85 diff --git a/empty-rename b/empty-copy
86 copy from empty-rename
86 copy from empty-rename
87 copy to empty-copy
87 copy to empty-copy
88 examine changes to 'empty-rename' and 'empty-copy'? [Ynsfdaq?]
88 examine changes to 'empty-rename' and 'empty-copy'? [Ynsfdaq?]
89 changeset: 2:b63ea3939f8d
89 changeset: 2:b63ea3939f8d
90 tag: tip
90 tag: tip
91 user: test
91 user: test
@@ -96,7 +96,7 b' summary: copy'
96 % delete empty file
96 % delete empty file
97 diff --git a/empty-copy b/empty-copy
97 diff --git a/empty-copy b/empty-copy
98 deleted file mode 100644
98 deleted file mode 100644
99 examine changes to 'empty-copy'? [Ynsfdaq?]
99 examine changes to 'empty-copy'? [Ynsfdaq?]
100 changeset: 3:a2546574bce9
100 changeset: 3:a2546574bce9
101 tag: tip
101 tag: tip
102 user: test
102 user: test
@@ -109,7 +109,7 b' 1 changesets found'
109 diff --git a/tip.bundle b/tip.bundle
109 diff --git a/tip.bundle b/tip.bundle
110 new file mode 100644
110 new file mode 100644
111 this is a binary file
111 this is a binary file
112 examine changes to 'tip.bundle'? [Ynsfdaq?]
112 examine changes to 'tip.bundle'? [Ynsfdaq?]
113 changeset: 4:9e998a545a8b
113 changeset: 4:9e998a545a8b
114 tag: tip
114 tag: tip
115 user: test
115 user: test
@@ -123,7 +123,7 b' Binary file tip.bundle has changed'
123 1 changesets found
123 1 changesets found
124 diff --git a/tip.bundle b/tip.bundle
124 diff --git a/tip.bundle b/tip.bundle
125 this modifies a binary file (all or nothing)
125 this modifies a binary file (all or nothing)
126 examine changes to 'tip.bundle'? [Ynsfdaq?]
126 examine changes to 'tip.bundle'? [Ynsfdaq?]
127 changeset: 5:93d05561507d
127 changeset: 5:93d05561507d
128 tag: tip
128 tag: tip
129 user: test
129 user: test
@@ -139,7 +139,7 b' diff --git a/tip.bundle b/top.bundle'
139 rename from tip.bundle
139 rename from tip.bundle
140 rename to top.bundle
140 rename to top.bundle
141 this modifies a binary file (all or nothing)
141 this modifies a binary file (all or nothing)
142 examine changes to 'tip.bundle' and 'top.bundle'? [Ynsfdaq?]
142 examine changes to 'tip.bundle' and 'top.bundle'? [Ynsfdaq?]
143 changeset: 6:699cc1bea9aa
143 changeset: 6:699cc1bea9aa
144 tag: tip
144 tag: tip
145 user: test
145 user: test
@@ -154,7 +154,7 b' Binary file top.bundle has changed'
154 % add plain file
154 % add plain file
155 diff --git a/plain b/plain
155 diff --git a/plain b/plain
156 new file mode 100644
156 new file mode 100644
157 examine changes to 'plain'? [Ynsfdaq?]
157 examine changes to 'plain'? [Ynsfdaq?]
158 changeset: 7:118ed744216b
158 changeset: 7:118ed744216b
159 tag: tip
159 tag: tip
160 user: test
160 user: test
@@ -179,46 +179,46 b' diff -r 699cc1bea9aa -r 118ed744216b pla'
179 % modify end of plain file
179 % modify end of plain file
180 diff --git a/plain b/plain
180 diff --git a/plain b/plain
181 1 hunks, 1 lines changed
181 1 hunks, 1 lines changed
182 examine changes to 'plain'? [Ynsfdaq?] @@ -8,3 +8,4 @@
182 examine changes to 'plain'? [Ynsfdaq?] @@ -8,3 +8,4 @@
183 8
183 8
184 9
184 9
185 10
185 10
186 +11
186 +11
187 record this change to 'plain'? [Ynsfdaq?] % modify end of plain file, no EOL
187 record this change to 'plain'? [Ynsfdaq?] % modify end of plain file, no EOL
188 diff --git a/plain b/plain
188 diff --git a/plain b/plain
189 1 hunks, 1 lines changed
189 1 hunks, 1 lines changed
190 examine changes to 'plain'? [Ynsfdaq?] @@ -9,3 +9,4 @@
190 examine changes to 'plain'? [Ynsfdaq?] @@ -9,3 +9,4 @@
191 9
191 9
192 10
192 10
193 11
193 11
194 +cf81a2760718a74d44c0c2eecb72f659e63a69c5
194 +cf81a2760718a74d44c0c2eecb72f659e63a69c5
195 \ No newline at end of file
195 \ No newline at end of file
196 record this change to 'plain'? [Ynsfdaq?] % modify end of plain file, add EOL
196 record this change to 'plain'? [Ynsfdaq?] % modify end of plain file, add EOL
197 diff --git a/plain b/plain
197 diff --git a/plain b/plain
198 1 hunks, 2 lines changed
198 1 hunks, 2 lines changed
199 examine changes to 'plain'? [Ynsfdaq?] @@ -9,4 +9,4 @@
199 examine changes to 'plain'? [Ynsfdaq?] @@ -9,4 +9,4 @@
200 9
200 9
201 10
201 10
202 11
202 11
203 -cf81a2760718a74d44c0c2eecb72f659e63a69c5
203 -cf81a2760718a74d44c0c2eecb72f659e63a69c5
204 \ No newline at end of file
204 \ No newline at end of file
205 +cf81a2760718a74d44c0c2eecb72f659e63a69c5
205 +cf81a2760718a74d44c0c2eecb72f659e63a69c5
206 record this change to 'plain'? [Ynsfdaq?] % modify beginning, trim end, record both
206 record this change to 'plain'? [Ynsfdaq?] % modify beginning, trim end, record both
207 diff --git a/plain b/plain
207 diff --git a/plain b/plain
208 2 hunks, 4 lines changed
208 2 hunks, 4 lines changed
209 examine changes to 'plain'? [Ynsfdaq?] @@ -1,4 +1,4 @@
209 examine changes to 'plain'? [Ynsfdaq?] @@ -1,4 +1,4 @@
210 -1
210 -1
211 +2
211 +2
212 2
212 2
213 3
213 3
214 4
214 4
215 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -8,5 +8,3 @@
215 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -8,5 +8,3 @@
216 8
216 8
217 9
217 9
218 10
218 10
219 -11
219 -11
220 -cf81a2760718a74d44c0c2eecb72f659e63a69c5
220 -cf81a2760718a74d44c0c2eecb72f659e63a69c5
221 record change 2/2 to 'plain'? [Ynsfdaq?]
221 record change 2/2 to 'plain'? [Ynsfdaq?]
222 changeset: 11:d09ab1967dab
222 changeset: 11:d09ab1967dab
223 tag: tip
223 tag: tip
224 user: test
224 user: test
@@ -245,7 +245,7 b' diff -r e2ecd9b0b78d -r d09ab1967dab pla'
245 % record end
245 % record end
246 diff --git a/plain b/plain
246 diff --git a/plain b/plain
247 2 hunks, 5 lines changed
247 2 hunks, 5 lines changed
248 examine changes to 'plain'? [Ynsfdaq?] @@ -1,9 +1,6 @@
248 examine changes to 'plain'? [Ynsfdaq?] @@ -1,9 +1,6 @@
249 -2
249 -2
250 -2
250 -2
251 -3
251 -3
@@ -255,7 +255,7 b" examine changes to 'plain'? [Ynsfdaq?] "
255 7
255 7
256 8
256 8
257 9
257 9
258 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -4,7 +1,7 @@
258 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -4,7 +1,7 @@
259 4
259 4
260 5
260 5
261 6
261 6
@@ -264,7 +264,7 b" record change 1/2 to 'plain'? [Ynsfdaq?]"
264 9
264 9
265 -10
265 -10
266 +10.new
266 +10.new
267 record change 2/2 to 'plain'? [Ynsfdaq?]
267 record change 2/2 to 'plain'? [Ynsfdaq?]
268 changeset: 12:44516c9708ae
268 changeset: 12:44516c9708ae
269 tag: tip
269 tag: tip
270 user: test
270 user: test
@@ -284,14 +284,14 b' diff -r d09ab1967dab -r 44516c9708ae pla'
284 % record beginning
284 % record beginning
285 diff --git a/plain b/plain
285 diff --git a/plain b/plain
286 1 hunks, 3 lines changed
286 1 hunks, 3 lines changed
287 examine changes to 'plain'? [Ynsfdaq?] @@ -1,6 +1,3 @@
287 examine changes to 'plain'? [Ynsfdaq?] @@ -1,6 +1,3 @@
288 -2
288 -2
289 -2
289 -2
290 -3
290 -3
291 4
291 4
292 5
292 5
293 6
293 6
294 record this change to 'plain'? [Ynsfdaq?]
294 record this change to 'plain'? [Ynsfdaq?]
295 changeset: 13:3ebbace64a8d
295 changeset: 13:3ebbace64a8d
296 tag: tip
296 tag: tip
297 user: test
297 user: test
@@ -313,7 +313,7 b' diff -r 44516c9708ae -r 3ebbace64a8d pla'
313 % record end
313 % record end
314 diff --git a/plain b/plain
314 diff --git a/plain b/plain
315 2 hunks, 4 lines changed
315 2 hunks, 4 lines changed
316 examine changes to 'plain'? [Ynsfdaq?] @@ -1,6 +1,9 @@
316 examine changes to 'plain'? [Ynsfdaq?] @@ -1,6 +1,9 @@
317 +1
317 +1
318 +2
318 +2
319 +3
319 +3
@@ -323,7 +323,7 b" examine changes to 'plain'? [Ynsfdaq?] "
323 7
323 7
324 8
324 8
325 9
325 9
326 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -1,7 +4,6 @@
326 record change 1/2 to 'plain'? [Ynsfdaq?] @@ -1,7 +4,6 @@
327 4
327 4
328 5
328 5
329 6
329 6
@@ -331,17 +331,17 b" record change 1/2 to 'plain'? [Ynsfdaq?]"
331 8
331 8
332 9
332 9
333 -10.new
333 -10.new
334 record change 2/2 to 'plain'? [Ynsfdaq?] % add to beginning, middle, end
334 record change 2/2 to 'plain'? [Ynsfdaq?] % add to beginning, middle, end
335 % record beginning, middle
335 % record beginning, middle
336 diff --git a/plain b/plain
336 diff --git a/plain b/plain
337 3 hunks, 7 lines changed
337 3 hunks, 7 lines changed
338 examine changes to 'plain'? [Ynsfdaq?] @@ -1,2 +1,5 @@
338 examine changes to 'plain'? [Ynsfdaq?] @@ -1,2 +1,5 @@
339 +1
339 +1
340 +2
340 +2
341 +3
341 +3
342 4
342 4
343 5
343 5
344 record change 1/3 to 'plain'? [Ynsfdaq?] @@ -1,6 +4,8 @@
344 record change 1/3 to 'plain'? [Ynsfdaq?] @@ -1,6 +4,8 @@
345 4
345 4
346 5
346 5
347 +5.new
347 +5.new
@@ -350,14 +350,14 b" record change 1/3 to 'plain'? [Ynsfdaq?]"
350 7
350 7
351 8
351 8
352 9
352 9
353 record change 2/3 to 'plain'? [Ynsfdaq?] @@ -3,4 +8,6 @@
353 record change 2/3 to 'plain'? [Ynsfdaq?] @@ -3,4 +8,6 @@
354 6
354 6
355 7
355 7
356 8
356 8
357 9
357 9
358 +10
358 +10
359 +11
359 +11
360 record change 3/3 to 'plain'? [Ynsfdaq?]
360 record change 3/3 to 'plain'? [Ynsfdaq?]
361 changeset: 15:c1c639d8b268
361 changeset: 15:c1c639d8b268
362 tag: tip
362 tag: tip
363 user: test
363 user: test
@@ -382,13 +382,13 b' diff -r efc0dad7bd9f -r c1c639d8b268 pla'
382 % record end
382 % record end
383 diff --git a/plain b/plain
383 diff --git a/plain b/plain
384 1 hunks, 2 lines changed
384 1 hunks, 2 lines changed
385 examine changes to 'plain'? [Ynsfdaq?] @@ -9,3 +9,5 @@
385 examine changes to 'plain'? [Ynsfdaq?] @@ -9,3 +9,5 @@
386 7
386 7
387 8
387 8
388 9
388 9
389 +10
389 +10
390 +11
390 +11
391 record this change to 'plain'? [Ynsfdaq?]
391 record this change to 'plain'? [Ynsfdaq?]
392 changeset: 16:80b74bbc7808
392 changeset: 16:80b74bbc7808
393 tag: tip
393 tag: tip
394 user: test
394 user: test
@@ -408,10 +408,10 b' diff -r c1c639d8b268 -r 80b74bbc7808 pla'
408 adding subdir/a
408 adding subdir/a
409 diff --git a/subdir/a b/subdir/a
409 diff --git a/subdir/a b/subdir/a
410 1 hunks, 1 lines changed
410 1 hunks, 1 lines changed
411 examine changes to 'subdir/a'? [Ynsfdaq?] @@ -1,1 +1,2 @@
411 examine changes to 'subdir/a'? [Ynsfdaq?] @@ -1,1 +1,2 @@
412 a
412 a
413 +a
413 +a
414 record this change to 'subdir/a'? [Ynsfdaq?]
414 record this change to 'subdir/a'? [Ynsfdaq?]
415 changeset: 18:33ff5c4fb017
415 changeset: 18:33ff5c4fb017
416 tag: tip
416 tag: tip
417 user: test
417 user: test
@@ -428,7 +428,7 b' diff -r aecf2b2ea83c -r 33ff5c4fb017 sub'
428 % help, quit
428 % help, quit
429 diff --git a/subdir/f1 b/subdir/f1
429 diff --git a/subdir/f1 b/subdir/f1
430 1 hunks, 1 lines changed
430 1 hunks, 1 lines changed
431 examine changes to 'subdir/f1'? [Ynsfdaq?] y - record this change
431 examine changes to 'subdir/f1'? [Ynsfdaq?] y - record this change
432 n - skip this change
432 n - skip this change
433 s - skip remaining changes to this file
433 s - skip remaining changes to this file
434 f - record remaining changes to this file
434 f - record remaining changes to this file
@@ -436,31 +436,31 b' d - done, skip remaining changes and fil'
436 a - record all changes to all remaining files
436 a - record all changes to all remaining files
437 q - quit, recording no changes
437 q - quit, recording no changes
438 ? - display help
438 ? - display help
439 examine changes to 'subdir/f1'? [Ynsfdaq?] abort: user quit
439 examine changes to 'subdir/f1'? [Ynsfdaq?] abort: user quit
440 % skip
440 % skip
441 diff --git a/subdir/f1 b/subdir/f1
441 diff --git a/subdir/f1 b/subdir/f1
442 1 hunks, 1 lines changed
442 1 hunks, 1 lines changed
443 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
443 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
444 1 hunks, 1 lines changed
444 1 hunks, 1 lines changed
445 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: response expected
445 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: response expected
446 % no
446 % no
447 diff --git a/subdir/f1 b/subdir/f1
447 diff --git a/subdir/f1 b/subdir/f1
448 1 hunks, 1 lines changed
448 1 hunks, 1 lines changed
449 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
449 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
450 1 hunks, 1 lines changed
450 1 hunks, 1 lines changed
451 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: response expected
451 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: response expected
452 % f, quit
452 % f, quit
453 diff --git a/subdir/f1 b/subdir/f1
453 diff --git a/subdir/f1 b/subdir/f1
454 1 hunks, 1 lines changed
454 1 hunks, 1 lines changed
455 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
455 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
456 1 hunks, 1 lines changed
456 1 hunks, 1 lines changed
457 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: user quit
457 examine changes to 'subdir/f2'? [Ynsfdaq?] abort: user quit
458 % s, all
458 % s, all
459 diff --git a/subdir/f1 b/subdir/f1
459 diff --git a/subdir/f1 b/subdir/f1
460 1 hunks, 1 lines changed
460 1 hunks, 1 lines changed
461 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
461 examine changes to 'subdir/f1'? [Ynsfdaq?] diff --git a/subdir/f2 b/subdir/f2
462 1 hunks, 1 lines changed
462 1 hunks, 1 lines changed
463 examine changes to 'subdir/f2'? [Ynsfdaq?]
463 examine changes to 'subdir/f2'? [Ynsfdaq?]
464 changeset: 20:094183e04b7c
464 changeset: 20:094183e04b7c
465 tag: tip
465 tag: tip
466 user: test
466 user: test
@@ -477,7 +477,7 b' diff -r f9e855cd9374 -r 094183e04b7c sub'
477 % f
477 % f
478 diff --git a/subdir/f1 b/subdir/f1
478 diff --git a/subdir/f1 b/subdir/f1
479 1 hunks, 1 lines changed
479 1 hunks, 1 lines changed
480 examine changes to 'subdir/f1'? [Ynsfdaq?]
480 examine changes to 'subdir/f1'? [Ynsfdaq?]
481 changeset: 21:38164785b0ef
481 changeset: 21:38164785b0ef
482 tag: tip
482 tag: tip
483 user: test
483 user: test
@@ -496,11 +496,11 b' diff --git a/subdir/f1 b/subdir/f1'
496 old mode 100644
496 old mode 100644
497 new mode 100755
497 new mode 100755
498 1 hunks, 1 lines changed
498 1 hunks, 1 lines changed
499 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -1,2 +1,3 @@
499 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -1,2 +1,3 @@
500 a
500 a
501 a
501 a
502 +a
502 +a
503 record this change to 'subdir/f1'? [Ynsfdaq?]
503 record this change to 'subdir/f1'? [Ynsfdaq?]
504 changeset: 22:a891589cb933
504 changeset: 22:a891589cb933
505 tag: tip
505 tag: tip
506 user: test
506 user: test
@@ -520,12 +520,12 b' new mode 100755'
520 % preserve execute permission on original
520 % preserve execute permission on original
521 diff --git a/subdir/f1 b/subdir/f1
521 diff --git a/subdir/f1 b/subdir/f1
522 1 hunks, 1 lines changed
522 1 hunks, 1 lines changed
523 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -1,3 +1,4 @@
523 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -1,3 +1,4 @@
524 a
524 a
525 a
525 a
526 a
526 a
527 +b
527 +b
528 record this change to 'subdir/f1'? [Ynsfdaq?]
528 record this change to 'subdir/f1'? [Ynsfdaq?]
529 changeset: 23:befa0dae6201
529 changeset: 23:befa0dae6201
530 tag: tip
530 tag: tip
531 user: test
531 user: test
@@ -546,12 +546,12 b' diff --git a/subdir/f1 b/subdir/f1'
546 old mode 100755
546 old mode 100755
547 new mode 100644
547 new mode 100644
548 1 hunks, 1 lines changed
548 1 hunks, 1 lines changed
549 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -2,3 +2,4 @@
549 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -2,3 +2,4 @@
550 a
550 a
551 a
551 a
552 b
552 b
553 +c
553 +c
554 record this change to 'subdir/f1'? [Ynsfdaq?]
554 record this change to 'subdir/f1'? [Ynsfdaq?]
555 changeset: 24:8fd83ff53ce6
555 changeset: 24:8fd83ff53ce6
556 tag: tip
556 tag: tip
557 user: test
557 user: test
@@ -572,12 +572,12 b' new mode 100644'
572 % with win32ext
572 % with win32ext
573 diff --git a/subdir/f1 b/subdir/f1
573 diff --git a/subdir/f1 b/subdir/f1
574 1 hunks, 1 lines changed
574 1 hunks, 1 lines changed
575 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -3,3 +3,4 @@
575 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -3,3 +3,4 @@
576 a
576 a
577 b
577 b
578 c
578 c
579 +d
579 +d
580 record this change to 'subdir/f1'? [Ynsfdaq?]
580 record this change to 'subdir/f1'? [Ynsfdaq?]
581 changeset: 25:49b3838dc9e7
581 changeset: 25:49b3838dc9e7
582 tag: tip
582 tag: tip
583 user: test
583 user: test
General Comments 0
You need to be logged in to leave comments. Login now