Show More
@@ -406,8 +406,10 b' def externalparent(repo, state, targetan' | |||
|
406 | 406 | return nullrev |
|
407 | 407 | if len(parents) == 1: |
|
408 | 408 | return parents.pop() |
|
409 | raise util.Abort(_('unable to collapse, there is more ' | |
|
410 |
'than one external parent') |
|
|
409 | raise util.Abort(_('unable to collapse on top of %s, there is more ' | |
|
410 | 'than one external parent: %s') % | |
|
411 | (max(targetancestors), | |
|
412 | ', '.join(str(p) for p in sorted(parents)))) | |
|
411 | 413 | |
|
412 | 414 | def concludenode(repo, rev, p1, p2, commitmsg=None, editor=None, extrafn=None): |
|
413 | 415 | 'Commit the changes and store useful information in extra' |
@@ -226,7 +226,7 b' Rebase and collapse - more than one exte' | |||
|
226 | 226 | $ cd b1 |
|
227 | 227 | |
|
228 | 228 | $ hg rebase -s 2 --collapse |
|
229 | abort: unable to collapse, there is more than one external parent | |
|
229 | abort: unable to collapse on top of 7, there is more than one external parent: 1, 5 | |
|
230 | 230 | [255] |
|
231 | 231 | |
|
232 | 232 | Rebase and collapse - E onto H: |
General Comments 0
You need to be logged in to leave comments.
Login now