Show More
@@ -3021,11 +3021,12 b' def graft(ui, repo, *revs, **opts):' | |||
|
3021 | 3021 | if n in ids: |
|
3022 | 3022 | r = repo[n].rev() |
|
3023 | 3023 | if r in revs: |
|
3024 |
ui.warn(_('skipping |
|
|
3024 | ui.warn(_('skipping revision %s (already grafted to %s)\n') | |
|
3025 | % (r, rev)) | |
|
3025 | 3026 | revs.remove(r) |
|
3026 | 3027 | elif ids[n] in revs: |
|
3027 | 3028 | ui.warn(_('skipping already grafted revision %s ' |
|
3028 |
'( |
|
|
3029 | '(%s also has origin %d)\n') % (ids[n], rev, r)) | |
|
3029 | 3030 | revs.remove(ids[n]) |
|
3030 | 3031 | elif ctx.hex() in ids: |
|
3031 | 3032 | r = ids[ctx.hex()] |
@@ -117,7 +117,7 b' Graft out of order, skipping a merge and' | |||
|
117 | 117 | |
|
118 | 118 | $ hg graft 1 5 4 3 'merge()' 2 -n |
|
119 | 119 | skipping ungraftable merge revision 6 |
|
120 |
skipping already grafted |
|
|
120 | skipping revision 2 (already grafted to 7) | |
|
121 | 121 | grafting revision 1 |
|
122 | 122 | grafting revision 5 |
|
123 | 123 | grafting revision 4 |
@@ -126,7 +126,7 b' Graft out of order, skipping a merge and' | |||
|
126 | 126 | $ hg graft 1 5 4 3 'merge()' 2 --debug |
|
127 | 127 | skipping ungraftable merge revision 6 |
|
128 | 128 | scanning for duplicate grafts |
|
129 |
skipping already grafted |
|
|
129 | skipping revision 2 (already grafted to 7) | |
|
130 | 130 | grafting revision 1 |
|
131 | 131 | searching for copies back to rev 1 |
|
132 | 132 | unmatched files in local: |
@@ -196,9 +196,9 b' Graft again:' | |||
|
196 | 196 | |
|
197 | 197 | $ hg graft 1 5 4 3 'merge()' 2 |
|
198 | 198 | skipping ungraftable merge revision 6 |
|
199 |
skipping already grafted |
|
|
200 |
skipping already grafted |
|
|
201 |
skipping already grafted |
|
|
199 | skipping revision 2 (already grafted to 7) | |
|
200 | skipping revision 1 (already grafted to 8) | |
|
201 | skipping revision 5 (already grafted to 9) | |
|
202 | 202 | grafting revision 4 |
|
203 | 203 | merging e |
|
204 | 204 | warning: conflicts during merge. |
@@ -314,18 +314,18 b' Disallow grafting an already grafted cse' | |||
|
314 | 314 | Disallow grafting already grafted csets with the same origin onto each other |
|
315 | 315 | $ hg up -q 13 |
|
316 | 316 | $ hg graft 2 |
|
317 |
skipping already grafted |
|
|
317 | skipping revision 2 (already grafted to 13) | |
|
318 | 318 | [255] |
|
319 | 319 | $ hg graft 7 |
|
320 |
skipping already grafted revision 7 ( |
|
|
320 | skipping already grafted revision 7 (13 also has origin 2) | |
|
321 | 321 | [255] |
|
322 | 322 | |
|
323 | 323 | $ hg up -q 7 |
|
324 | 324 | $ hg graft 2 |
|
325 |
skipping already grafted |
|
|
325 | skipping revision 2 (already grafted to 7) | |
|
326 | 326 | [255] |
|
327 | 327 | $ hg graft tip |
|
328 |
skipping already grafted revision 13 ( |
|
|
328 | skipping already grafted revision 13 (7 also has origin 2) | |
|
329 | 329 | [255] |
|
330 | 330 | |
|
331 | 331 | Graft with --log |
General Comments 0
You need to be logged in to leave comments.
Login now