Show More
@@ -171,7 +171,7 b' def rebase(ui, repo, **opts):' | |||
|
171 | 171 | else: |
|
172 | 172 | try: |
|
173 | 173 | ui.setconfig('ui', 'forcemerge', opts.get('tool', '')) |
|
174 |
stats = rebasenode(repo, rev, p1, |
|
|
174 | stats = rebasenode(repo, rev, p1, state) | |
|
175 | 175 | if stats and stats[3] > 0: |
|
176 | 176 | raise util.Abort(_('unresolved conflicts (see hg ' |
|
177 | 177 | 'resolve, then hg rebase --continue)')) |
@@ -287,7 +287,7 b' def concludenode(repo, rev, p1, p2, comm' | |||
|
287 | 287 | repo.dirstate.invalidate() |
|
288 | 288 | raise |
|
289 | 289 | |
|
290 |
def rebasenode(repo, rev, p1, |
|
|
290 | def rebasenode(repo, rev, p1, state): | |
|
291 | 291 | 'Rebase a single revision' |
|
292 | 292 | # Merge phase |
|
293 | 293 | # Update to target and merge it with local |
General Comments 0
You need to be logged in to leave comments.
Login now