##// END OF EJS Templates
rebase: collapse two nested if-conditions...
Martin von Zweigbergk -
r36792:a835bf3f default
parent child Browse files
Show More
@@ -605,9 +605,8 b' class rebaseruntime(object):'
605 hg.updaterepo(repo, newwd, False)
605 hg.updaterepo(repo, newwd, False)
606
606
607 collapsedas = None
607 collapsedas = None
608 if not self.keepf:
608 if self.collapsef and not self.keepf:
609 if self.collapsef:
609 collapsedas = newnode
610 collapsedas = newnode
611 clearrebased(ui, repo, self.destmap, self.state, self.skipped,
610 clearrebased(ui, repo, self.destmap, self.state, self.skipped,
612 collapsedas, self.keepf, fm=fm)
611 collapsedas, self.keepf, fm=fm)
613
612
General Comments 0
You need to be logged in to leave comments. Login now