##// END OF EJS Templates
rebase: backout changeset 986d04b9fedd...
Siddharth Agarwal -
r27975:6f92d6bd stable
parent child Browse files
Show More
@@ -397,13 +397,14 b' def rebase(ui, repo, **opts):'
397 if dest.closesbranch() and not keepbranchesf:
397 if dest.closesbranch() and not keepbranchesf:
398 ui.status(_('reopening closed branch head %s\n') % dest)
398 ui.status(_('reopening closed branch head %s\n') % dest)
399
399
400 if keepbranchesf and collapsef:
400 if keepbranchesf:
401 branches = set()
401 if collapsef:
402 for rev in state:
402 branches = set()
403 branches.add(repo[rev].branch())
403 for rev in state:
404 if len(branches) > 1:
404 branches.add(repo[rev].branch())
405 raise error.Abort(_('cannot collapse multiple named '
405 if len(branches) > 1:
406 'branches'))
406 raise error.Abort(_('cannot collapse multiple named '
407 'branches'))
407
408
408 # Rebase
409 # Rebase
409 if not targetancestors:
410 if not targetancestors:
General Comments 0
You need to be logged in to leave comments. Login now