Show More
@@ -201,7 +201,7 def rebase(ui, repo, **opts): | |||||
201 | root = None |
|
201 | root = None | |
202 |
|
202 | |||
203 | if not rebaseset: |
|
203 | if not rebaseset: | |
204 | repo.ui.debug('base is ancestor of destination') |
|
204 | repo.ui.debug('base is ancestor of destination\n') | |
205 | result = None |
|
205 | result = None | |
206 | elif not keepf and list(repo.revs('first(children(%ld) - %ld)', |
|
206 | elif not keepf and list(repo.revs('first(children(%ld) - %ld)', | |
207 | rebaseset, rebaseset)): |
|
207 | rebaseset, rebaseset)): | |
@@ -618,7 +618,7 def buildstate(repo, dest, rebaseset, de | |||||
618 | if commonbase == dest: |
|
618 | if commonbase == dest: | |
619 | samebranch = root.branch() == dest.branch() |
|
619 | samebranch = root.branch() == dest.branch() | |
620 | if samebranch and root in dest.children(): |
|
620 | if samebranch and root in dest.children(): | |
621 | repo.ui.debug('source is a child of destination') |
|
621 | repo.ui.debug('source is a child of destination\n') | |
622 | return None |
|
622 | return None | |
623 | # rebase on ancestor, force detach |
|
623 | # rebase on ancestor, force detach | |
624 | detach = True |
|
624 | detach = True |
General Comments 0
You need to be logged in to leave comments.
Login now