rebase: indentation change to make the next patch more legible
We put the code to be indented in the next patch in a "if True:" block to make
it easier to review.
--- a/hgext/rebase.py Mon Nov 16 16:56:00 2015 -0500
+++ b/hgext/rebase.py Fri Nov 20 11:36:05 2015 -0800
@@ -555,11 +555,12 @@
collapsedas = newnode
clearrebased(ui, repo, state, skipped, collapsedas)
- if currentbookmarks:
- updatebookmarks(repo, targetnode, nstate, currentbookmarks)
- if activebookmark not in repo._bookmarks:
- # active bookmark was divergent one and has been deleted
- activebookmark = None
+ if True:
+ if currentbookmarks:
+ updatebookmarks(repo, targetnode, nstate, currentbookmarks)
+ if activebookmark not in repo._bookmarks:
+ # active bookmark was divergent one and has been deleted
+ activebookmark = None
clearstatus(repo)
ui.note(_("rebase completed\n"))