Show More
@@ -1107,14 +1107,13 def _continuehistedit(ui, repo, state): | |||
|
1107 | 1107 | if action.verb == 'fold' and nextact and nextact.verb == 'fold': |
|
1108 | 1108 | state.actions[idx].__class__ = _multifold |
|
1109 | 1109 | |
|
1110 | # Force an initial state file write, so the user can run --abort/continue | |
|
1111 | # even if there's an exception before the first transaction serialize. | |
|
1112 | state.write() | |
|
1113 | ||
|
1110 | 1114 | total = len(state.actions) |
|
1111 | 1115 | pos = 0 |
|
1112 | 1116 | tr = None |
|
1113 | ||
|
1114 | # Force an initial state file write, so the user can run --abort/continue | |
|
1115 | # even if there's an exception before the first transaction serialize. | |
|
1116 | state.write() | |
|
1117 | try: | |
|
1118 | 1117 |
|
|
1119 | 1118 |
|
|
1120 | 1119 |
|
@@ -1123,7 +1122,7 def _continuehistedit(ui, repo, state): | |||
|
1123 | 1122 |
|
|
1124 | 1123 |
|
|
1125 | 1124 |
|
|
1126 | ||
|
1125 | try: | |
|
1127 | 1126 | while state.actions: |
|
1128 | 1127 | state.write(tr=tr) |
|
1129 | 1128 | actobj = state.actions[0] |
General Comments 0
You need to be logged in to leave comments.
Login now